VirtualMailManager/handler.py
branchv0.6.x
changeset 508 18870919ec48
parent 505 3da8c919584f
child 510 1fa354bbdb90
equal deleted inserted replaced
507:2aae58cddfa9 508:18870919ec48
   695                                         u"does not exist.") % destination)
   695                                         u"does not exist.") % destination)
   696 
   696 
   697     def catchall_info(self, domain):
   697     def catchall_info(self, domain):
   698         """Returns an iterator object for all destinations (`EmailAddress`
   698         """Returns an iterator object for all destinations (`EmailAddress`
   699         instances) for the `CatchallAlias` with the given *domain*."""
   699         instances) for the `CatchallAlias` with the given *domain*."""
   700         return self._get_catchall(domain)
   700         return self._get_catchall(domain).get_destinations()
   701 
   701 
   702     def catchall_delete(self, domain, targetaddress=None):
   702     def catchall_delete(self, domain, targetaddress=None):
   703         """Deletes the `CatchallAlias` for domain *domain* with all its
   703         """Deletes the `CatchallAlias` for domain *domain* with all its
   704         destinations from the database. If *targetaddress* is not ``None``,
   704         destinations from the database. If *targetaddress* is not ``None``,
   705         only this destination will be removed from the alias."""
   705         only this destination will be removed from the alias."""