Part of lp.registry.scripts.mlistimport View In Hierarchy
Method | __init__ | Undocumented |
Method | importAddresses | Import all addresses. |
Method | importFromFile | Import all addresses given in the named file. |
Every address that is preferred or validated and connected to a person is made a member of the team, and is subscribed to the mailing list (with the address given). If the address is not valid, or if it is associated with a team, the address is ignored.
Parameters | addresses | The email addresses to join and subscribe. (type: sequence of strings) |
The named file has email address to import, one per line. The lines
may be formatted using any format recognized by
email.utils.parseaddr()
.
Parameters | filename | The name of the file containing email address. (type: string) |