Part of lp.services.mail.sendmail View In Hierarchy
Known subclasses: lp.services.mail.tests.test_basemailer.RaisingMailController
Method | __init__ | Undocumented |
Method | addAttachment | Undocumented |
Static Method | encodeOptimally | Encode a message part as needed. |
Method | makeMessage | Undocumented |
Method | send | Undocumented |
If the part is more than 10% high-bit characters, it will be encoded using base64 encoding. If the contents are 7-bit and exact is False, the part will not be encoded. Otherwise, the message will be encoded as quoted-printable.
If quoted-printable encoding is used, exact will cause all line-ending characters to be quoted.
Parameters | part | The message part to encode. |
exact | If True, the encoding will ensure newlines are not mangled. If False, 7-bit attachments will not be encoded. |