Part of bzrlib.mail_client View In Hierarchy
Known subclasses: bzrlib.mail_client.Evolution, bzrlib.mail_client.ExternalMailClient, bzrlib.mail_client.MailApp, bzrlib.mail_client.MAPIClient, bzrlib.mail_client.Mutt, bzrlib.mail_client.Thunderbird, bzrlib.mail_client.XDGEmail
| Method | compose | See MailClient.compose. |
| Method | _get_client_commands | Provide a list of commands that may invoke the mail client |
| Method | _compose | Invoke a mail client as a commandline process. |
| Method | _get_compose_commandline | Determine the commandline to use for composing a message |
| Method | _encode_safe | Encode possible unicode string argument to 8-bit string |
| Method | _encode_path | Encode unicode path in user encoding. |
Inherited from MailClient:
| Method | __init__ | Undocumented |
| Method | compose_merge_request | Compose (and possibly send) a merge request |
| Method | _get_merge_prompt | Generate a prompt string. Overridden by Editor. |
Writes the attachment to a temporary file, invokes _compose.
Invoke a mail client as a commandline process.
Overridden by MAPIClient.
:param to: The address to send the mail to
:param subject: The subject line for the mail
:param pathname: The path to the attachment
:param mime_subtype: The attachment is assumed to have a major type of
"text", but the precise subtype can be specified here
:param extension: A file extension (including period) associated with
the attachment type.
:param body: Optional body text.
:param from_: Optional From: header.
Implemented by various subclasses :param to: The address to send the mail to :param subject: The subject line for the mail :param attach_path: The path to the attachment