VirtualMailManager/Alias.py
branchv0.6.x
changeset 250 73cd082cd724
parent 223 5c7b7cbb01cd
child 257 5b8fde01e4f0
equal deleted inserted replaced
249:bb7d9906c529 250:73cd082cd724
    89 
    89 
    90     def __len__(self):
    90     def __len__(self):
    91         """Returns the number of destinations of the alias."""
    91         """Returns the number of destinations of the alias."""
    92         return len(self._dests)
    92         return len(self._dests)
    93 
    93 
       
    94     @property
       
    95     def address(self):
       
    96         """The Alias' EmailAddress instance."""
       
    97         return self._addr
       
    98 
    94     def add_destinations(self, destinations, expansion_limit, warnings=None):
    99     def add_destinations(self, destinations, expansion_limit, warnings=None):
    95         """Adds the `EmailAddress`es from *destinations* list to the
   100         """Adds the `EmailAddress`es from *destinations* list to the
    96         destinations of the alias.
   101         destinations of the alias.
    97 
   102 
    98         Destinations, that are already assigned to the alias, will be
   103         Destinations, that are already assigned to the alias, will be