Part of bzrlib.mail_client View In Hierarchy
Known subclasses: bzrlib.mail_client.BodyExternalMailClient, bzrlib.mail_client.DefaultMail, bzrlib.mail_client.Editor, bzrlib.tests.test_merge_directive.HookMailClient
Method | __init__ | Undocumented |
Method | compose | Compose (and possibly send) an email message |
Method | compose_merge_request | Compose (and possibly send) a merge request |
Method | _get_merge_prompt | Generate a prompt string. Overridden by Editor. |
Must be implemented by subclasses.
Parameters | prompt | A message to tell the user what to do. Supported by the Editor client, but ignored by others |
to | The address to send the message to | |
subject | The contents of the subject line | |
attachment | An email attachment, as a bytestring | |
mime_subtype | The attachment is assumed to be a subtype of Text. This allows the precise subtype to be specified, e.g. "plain", "x-patch", etc. | |
extension | The file extension associated with the attachment type, e.g. ".patch" | |
basename | The name to use for the attachment, e.g. "send-nick-3252" |
Parameters | to | The address to send the request to |
subject | The subject line to use for the request | |
directive | A merge directive representing the merge request, as a bytestring. | |
basename | The name to use for the attachment, e.g. "send-nick-3252" |
Parameters | prompt | A string suggesting what user should do |
to | The address the mail will be sent to | |
subject | The subject line of the mail | |
attachment | The attachment that will be used |