pyams_mail.interfaces package ⊞

PyAMS_mail.interfaces module

This module provides IPrincipalMailInfo, which can return email address(es) or any principal, if the authentication plug-in provides this information.

interface pyams_mail.interfaces.IPrincipalMailInfo[source]

Principal mail informations interfaces

get_addresses(self)

Get list of mail addresses matching adapted principal

As adapted principal can be a group, result should be a list of tuples containing name and address of each group member.