src/pyams_mail/interfaces/__init__.py
changeset 4 2c6816d5a41b
parent 0 f02739a295b2
equal deleted inserted replaced
3:1c7b52ab8170 4:2c6816d5a41b
    17 # import interfaces
    17 # import interfaces
    18 from zope.interface import Interface
    18 from zope.interface import Interface
    19 
    19 
    20 # import packages
    20 # import packages
    21 
    21 
    22 from pyams_mail import _
    22 
       
    23 class IPrincipalMailInfo(Interface):
       
    24     """Principal mail informations interfaces"""
       
    25 
       
    26     def get_addresses(self):
       
    27         """Get list of mail addresses matching adapted principal
       
    28 
       
    29         As adapted principal can be a group, result should be a list of
       
    30         tuples containing name and address of each target
       
    31         """