Skip to main content

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

python-10minutemail-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

python_10minutemail-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file python-10minutemail-0.1.0.tar.gz.

File metadata

  • Download URL: python-10minutemail-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for python-10minutemail-0.1.0.tar.gz
Algorithm Hash digest
SHA256 069b38c777357105f764bc8762344e3b771363749ba3968bae5554fa3d49e2b8
MD5 4c3a956720a6a54046f919b9e6b79110
BLAKE2b-256 704c271a245cc188237939e6e66e065cad9f195c7f62f5159ccd828bcd05731b

See more details on using hashes here.

File details

Details for the file python_10minutemail-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: python_10minutemail-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for python_10minutemail-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa633246997ef5d6be7adfe4289835deccd6e4dea7863ce9336ce39b8e4cd016
MD5 f28ceb67299ab077c05c44c954e53670
BLAKE2b-256 9a91635142054c6c92c5306c32ad2824c4e6828296f07a7bd889b65dca580048

See more details on using hashes here.

Supported by

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