Python wrapper for 10minutemail.com
Project description
10MinuteMail
Python wrapper for 10minutemail
Installation
pip install python-10minutemail
Usage
from minutemail import Mail
# Create a new 10 minute mail
mail = Mail()
print(mail)
# Keep on checking for a new mail/message
while True:
if mail.new_message(): # Check for new mail
print(mail.fetch_message()) # Fetch all the messages
Sample message list
[
{
"read": false,
"expanded": false,
"forwarded": false,
"repliedTo": false,
"sentDate": "2021-05-10T07:32:41.000+0000",
"sentDateFormatted": "May 10, 2021, 7:32:41 AM",
"sender": "sauravnk30@gmail.com",
"from": "[Ljavax.mail.internet.InternetAddress;@37e8c463",
"subject": "Test message",
"bodyPlainText": "Test description\r\n",
"bodyHtmlContent": "<div dir=\"ltr\">Test description</div>\r\n",
"bodyPreview": "Test description\r\n",
"id": "2118940165622869807"
},
...
]
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
Built Distribution
Close
Hashes for python-10minutemail-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 069b38c777357105f764bc8762344e3b771363749ba3968bae5554fa3d49e2b8 |
|
MD5 | 4c3a956720a6a54046f919b9e6b79110 |
|
BLAKE2b-256 | 704c271a245cc188237939e6e66e065cad9f195c7f62f5159ccd828bcd05731b |
Close
Hashes for python_10minutemail-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa633246997ef5d6be7adfe4289835deccd6e4dea7863ce9336ce39b8e4cd016 |
|
MD5 | f28ceb67299ab077c05c44c954e53670 |
|
BLAKE2b-256 | 9a91635142054c6c92c5306c32ad2824c4e6828296f07a7bd889b65dca580048 |