functions and classes to work with email
Project description
Maildir: a much faster subclass of mailbox.Maildir, because you really can trust the output of os.listdir to scan for changes
Message(msgfile, headersonly=False): factory function to accept a file or filename and return an email.message.Message
ismaildir(path): test if path refers to a Maildir
ismbox(path): test if path refers to an mbox file
ismhdir(path): test if path refers to an MH mail folder
make_maildir(path): create a new Maildir
message_addresses(M, header_names): generator that yields (realname, address) pairs from all the named headers
modify_header(M, hdr, new_value, always=False): modify a Message M to change the value of the named header hdr to the new value new_value
shortpath(path, environ=None): use cs.lex.shortpath to return a short refernce to a mail folder using $MAILDIR for “+” and $HOME for “~”
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cs.mailutils-20160828.tar.gz.
File metadata
- Download URL: cs.mailutils-20160828.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02cd8a6171bf4af2c8d2ca30797793c54ffad0b1383b0363901c90b35cf4e243
|
|
| MD5 |
51148ce65b2f71b23877a2c7dd4f906b
|
|
| BLAKE2b-256 |
3a8fd1998c0b8dbc38804584648a69676838b8eb60175b8a48538c6f0fc8412b
|