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

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

Known subclasses: lp.services.mail.tests.test_basemailer.AttachmentMailer, lp.services.mail.tests.test_basemailer.FromAddressUpper, lp.services.mail.tests.test_basemailer.ToAddressesUpper

Subclass of BaseMailer to avoid getting the body template.
Method _getBody Return the complete body to use for this email.

Inherited from BaseMailer:

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 _getFromAddress Undocumented
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 _getBody(self, email, recipient):
Return the complete body to use for this email.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.