Part of lp.bugs.mail.bugnotificationbuilder View In Hierarchy
Takes a bug and a set of headers and returns a new MIMEText object. Common and expensive to calculate headers are cached up-front.
Parameters | from_address | The From address of the notification. |
to_person | The IPerson to use as the To address for the
notification. | |
body | The body text of the notification. (type: unicode) | |
subject | The Subject of the notification. | |
email_date | The Date for the notification. | |
rationale | The rationale for why the recipient is receiving this notification. | |
references | A value for the References header. | |
message_id | A value for the Message-ID header. | |
Returns | An email.mime.text.MIMEText object. |