VirtualMailManager/VirtualMailManager.py
changeset 12 44161dbb1518
parent 9 e3d3dbeb5b84
child 14 ebc9b864bc9a
equal deleted inserted replaced
11:7a5bd38c5b98 12:44161dbb1518
   412 
   412 
   413     def alias_info(self, aliasaddress):
   413     def alias_info(self, aliasaddress):
   414         alias = self.__getAlias(aliasaddress)
   414         alias = self.__getAlias(aliasaddress)
   415         return alias.getInfo()
   415         return alias.getInfo()
   416 
   416 
   417     def alias_delete(self, aliasaddress):
   417     def alias_delete(self, aliasaddress, targetaddress=None):
   418         alias = self.__getAlias(aliasaddress)
   418         alias = self.__getAlias(aliasaddress, targetaddress)
   419         alias.delete()
   419         alias.delete()
   420 
   420 
   421     def user_info(self, emailaddress, diskusage=False):
   421     def user_info(self, emailaddress, diskusage=False):
   422         acc = self.__getAccount(emailaddress)
   422         acc = self.__getAccount(emailaddress)
   423         info = acc.getInfo()
   423         info = acc.getInfo()