email.generator: Generating MIME documents — Python 3.16.0a0 documentation

docs.python.org

Tin mới

email.parser: Parsing email messages

email.policy: Policy Objects

Python Module Index

3.16.0a0 Documentation

The Python Standard Library

Internet Data Handling

email — An email and MIME handling package

smtplib.SMTP.sendmail()

One of the most common tasks is to generate the flat (serialized) version of the email message represented by a message object structure. You will need to do this if you want to send your message via smtplib.SMTP.sendmai

email.message.EmailMessage

One of the most common tasks is to generate the flat (serialized) version of the email message represented by a message object structure. You will need to do this if you want to send your message via smtplib.SMTP.sendmai

mailbox: Manipulate mailboxes in various formats

Return a BytesGenerator object that will write any message provided to the flatten() method, or any surrogateescape encoded text provided to the write() method, to the file-like object outfp. outfp must support a write m

email.message.Message

Return a BytesGenerator object that will write any message provided to the flatten() method, or any surrogateescape encoded text provided to the write() method, to the file-like object outfp. outfp must support a write m