Skip to main content

imap utils can be used to get the latest email from specified sender.

Project description

imap utils can be used to get the latest email from specified sender

####usage:

from mailbox import util<br><br> host = ‘imap.126.com’<br> user = (‘username@126.com’, ‘password’)<br> sender = ‘sender@example.com’<br> email_message = util.get_email(host, user, sender)<br> email_body = util.get_first_text_block(email_message)<br>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_mailbox-0.1.1.tar.gz (1.5 kB view details)

Uploaded Source

File details

Details for the file simple_mailbox-0.1.1.tar.gz.

File metadata

File hashes

Hashes for simple_mailbox-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8878d3fed009a688a8014f23783056c5f6426849e2f915dfc49cc968197524ab
MD5 fac5a771d0be2b8cd078e98f904a5b9b
BLAKE2b-256 96a5c435ecce7d7a051768f969b7dab04c22b771a8c3f4a5d7719043f50137a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page