l.r.m.t.TeamMembershipMailer(BaseMailer) : class documentation

Part of lp.registry.mail.teammembership View In Hierarchy

No class docstring
Class Method forInvitationToJoinTeam Create a mailer for notifying about team joining invitations.
Class Method forTeamJoin Create a mailer for notifying about a new member joining a team.
Class Method forMembershipStatusChange Create a mailer for a membership status change.
Class Method forExpiringMembership Create a mailer for warning about expiring membership.
Class Method forSelfRenewal Create a mailer for notifying about a self-renewal.
Method __init__ See BaseMailer.
Method _getSubject See BaseMailer.
Method _getReplyToAddress See BaseMailer.
Method _getTemplateName See BaseMailer.
Method _getTemplateParams See BaseMailer.
Method _getFooter See BaseMailer.

Inherited from BaseMailer:

Method generateEmail Generate the email for this recipient.
Method textDelta Return a textual version of the class delta.
Method sendOne Send notification to one recipient.
Method sendAll Send notifications to all recipients.
Method _getFromAddress Undocumented
Method _getToAddresses Undocumented
Method _getHeaders Return the mail headers to use.
Method _addAttachments Add any appropriate attachments to a MailController.
Method _getBody Return the complete body to use for this email.
Method _getExpandedFooter Provide an expanded footer for recipients who have requested it.
@classmethod
def forInvitationToJoinTeam(cls, member, team):
Create a mailer for notifying about team joining invitations.

XXX: Guilherme Salgado 2007-05-08: At some point we may want to extend this functionality to allow invites to be sent to users as well, but for now we only use it for teams.

@classmethod
def forTeamJoin(cls, member, team):
Create a mailer for notifying about a new member joining a team.
@classmethod
def forMembershipStatusChange(cls, member, team, reviewer, old_status, new_status, last_change_comment):
Create a mailer for a membership status change.
@classmethod
def forExpiringMembership(cls, member, team, dateexpires):
Create a mailer for warning about expiring membership.
@classmethod
def forSelfRenewal(cls, member, team, dateexpires):
Create a mailer for notifying about a self-renewal.
def __init__(self, subject, template_name, recipients, from_address, notification_type, member, team, reviewer, membership=None, extra_params={}, wrap=True, force_wrap=True):
See BaseMailer.
def _getSubject(self, email, recipient):
See BaseMailer.
def _getReplyToAddress(self, email, recipient):
See BaseMailer.
def _getTemplateName(self, email, recipient):
See BaseMailer.
def _getTemplateParams(self, email, recipient):
See BaseMailer.
def _getFooter(self, email, recipient, params):
See BaseMailer.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.