libgmail.GmailComposedMessage

Module libgmail :: Class GmailComposedMessage |
[hide private]
[frames] | no frames]

# Class GmailComposedMessage

source code

Instance Methods | [hide private]
__init__(self, to, subject, body, cc=None, bcc=None, filenames=None, files=None) `filenames` - list of the file paths of the files to attach. | source code

Method Details | [hide private]

### __init__(self, to, subject, body, cc=None, bcc=None, filenames=None, files=None) (Constructor) | source code
    `filenames` - list of the file paths of the files to attach.
    `files` - list of objects implementing sub-set of
              `email.Message.Message` interface (`get_filename`,
              `get_content_type`, `get_payload`). This is to
              allow use of payloads from Message instances.
              TODO: Change this to be simpler class we define ourselves?