Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Easily send mail updates to yourself.

Project description

MailUpdater

A Python module for easily sending mail updates to yourself.

Quickstart

import mailupdater

username = input("Email address: ")

service = mailupdater.Service(username)

with service.create("Hello world") as email:
    email.write("Python is great for sending emails.")

# A new email will appear in your inbox.

You can also attach files and send multiple emails:

import mailupdater

username = input("Email address: ")

service = mailupdater.Service(username)

with service.create("Vacation pix") as email:
    email.write("See attachments.")
    email.attach("file.txt")
    email.attach("image.png")
    email.write("These are my vacation pictures.")

with service.create("Reminder") as email:
    email.write("Did you see the previous email I sent?")

# Two new emails will appear in your inbox.

Sending emails to multiple recipients is easy:

import mailupdater

username = "jon@mail1.com"
recipients = ["mary@mail2.com", "bob@mail3.com"]

service = mailupdater.Service(username, recipients)

with service.create("Party invitation") as email:
    email.write("Come to my party!")

# All recipients, including yourself, will recieve the email.

Installation

pip3 install mailupdater

Testing

Do:

import mailupdater

mailupdater.test()

Then follow the instructions of the program.

If the program finishes successfully, then you should see two new emails in your inbox.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mailupdater, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size mailupdater-0.0.3.tar.gz (8.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page