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.3.tar.gz
(1.7 kB
view details)
File details
Details for the file simple_mailbox-0.1.3.tar.gz.
File metadata
- Download URL: simple_mailbox-0.1.3.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
149180d13801d73bb4b9d22de7a1266090b30baf74c14c665fa4c831167ce6fe
|
|
| MD5 |
2747ba8d7ab502bc4763c8c969bc8abc
|
|
| BLAKE2b-256 |
68c63df426bf242b49db88aa34cb4456f295be1ea96f32a6640aec4d9b3e7a0e
|