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 smbox 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.4.tar.gz
(1.9 kB
view details)
File details
Details for the file simple_mailbox-0.1.4.tar.gz.
File metadata
- Download URL: simple_mailbox-0.1.4.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23ab5d948527ff31804c35b80605e80247401ef2cde63a0d6fbc500c5562c41e
|
|
| MD5 |
caa564412345455a9766ec785f0d626f
|
|
| BLAKE2b-256 |
37116e067e627090a7ae99c4375b4e367629b28f237cae5a485ffcaff55aa8b2
|