l.s.m.t.t.FromAddressUpper(BaseMailerSubclass) : class documentation

Part of lp.services.mail.tests.test_basemailer View In Hierarchy

Subclass of BaseMailer providing an example getFromAddress.
Method _getFromAddress Undocumented

Inherited from BaseMailerSubclass:

Method _getBody Return the complete body to use for this email.

Inherited from BaseMailer (via BaseMailerSubclass):

Method __init__ Constructor.
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 _getToAddresses Undocumented
Method _getSubject The subject template expanded with the template params.
Method _getReplyToAddress Return the address to use for the reply-to header.
Method _getHeaders Return the mail headers to use.
Method _addAttachments Add any appropriate attachments to a MailController.
Method _getTemplateName Return the name of the template to use for this email body.
Method _getTemplateParams Return a dict of values to use in the body and subject.
Method _getFooter Provide a footer to attach to the body, or None.
Method _getExpandedFooter Provide an expanded footer for recipients who have requested it.
def _getFromAddress(self, email, recipient):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.