Skip to main content

Functions and classes to work with email.

  • 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 “~”

Metadata

Release files for cs.mailutils 20160828

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cs.mailutils 20160828
File Size Uploaded Provenance Actions
cs.mailutils-20160828.tar.gz 5.7 kB Without provenance Details for cs.mailutils-20160828.tar.gz

Release files / cs.mailutils-20160828.tar.gz

Download URL cs.mailutils-20160828.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
02cd8a6171bf4af2c8d2ca30797793c54ffad0b1383b0363901c90b35cf4e243
BLAKE2b-256 checksum
How to use checksums
3a8fd1998c0b8dbc38804584648a69676838b8eb60175b8a48538c6f0fc8412b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for cs.mailutils 20160828

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page