Part of lp.registry.mail
|Function||notify_invitation_to_join_team||Notify team admins that the team has been invited to join another team.|
|Function||notify_team_join||Notify team admins that someone has asked to join the team.|
|Function||notify_mailinglist_activated||Notification that a mailing list is available.|
|Function||notify_message_held||Send a notification of a message hold to all team administrators.|
|Function||encode||Encode string for transport in a mail header.|
|Function||send_direct_contact_email||Send a direct user-to-user email.|
The notification will include a link to a page in which any team admin can accept the invitation.
If the team's policy is Moderated, the email will say that the membership is pending approval. Otherwise it'll say that the person has joined the team and who added that person to the team.
All active members of a team and its subteams receive notification when the team's mailing list is available.
|Parameters||value||The raw email header value. (type: unicode)|
|Returns||The encoded header. (type: |
|Parameters||sender_email||The email address of the sender. (type: string)|
|recipients_set||The recipients. (type: |
|person_or_team||The party that is the context of the email. (type: |
|subject||The Subject header. (type: unicode)|
|body||The message body. (type: unicode)|
|Returns||The sent message. (type: |