Skip to main content

Unofficial API for trash/temporary mail services in Python

Project description

trashmailapi

Unofficial API for trash/temporary mail services in Python

Currently, only vsimcard trashmail is supported.

Check the project wiki for a more detailed information.

Installation:

pip install trashmailapi

Examples:

  • Vsimcard:
from trashmailapi.vsimcard import Vsimcard

user = Vsimcard("emailaddress")

user.get_emails() # returns email metadata except for body/content

for i in user.inbox:
    if "verify" in i.subject:
        mail = user.get_content(i.id) # returns the email body/content using mail ID's

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

trashmailapi-1.1.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

trashmailapi-1.1-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

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