Part of bzrlib.tests.test_merge_directive View In Hierarchy
Method | __init__ | Undocumented |
Method | compose | Compose (and possibly send) an email message |
Inherited from MailClient:
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" |