Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Send emails from your Shake app.

Project description

=================
MailShake
=================

Although Python makes sending email relatively easy via the smtplib module, this bundle provides a couple of light wrappers over it.

These wrappers are provided to make sending email extra quick, to make it easy to test email sending during development, and to provide support for platforms that can’t use SMTP.

Usage::

from mailshake import EmailMessage, SMTPMailer

email_msg = EmailMessage(
"Weekend getaway",
'Here's a photo of us from our Europe trip.',
'from@example.com',
['mary@example.com', 'bob@example.com'],

)
email_msg.attach("picture.jpg")

mailer = SMTPMailer()
mailer.send(email_msg)


Severals other mailers are available for testing: `ToConsoleMailer`, `ToFileMailer`, `ToMemoryMailer` and `DummyMailer` (does nothing).


-------------------
Much of the code was based on the mail code from Django (http://djangoproject.com). The original code was BSD licensed

Project details


Release history Release notifications

History Node

0.17.0

History Node

0.16.1

History Node

0.16.0

History Node

0.15.0

History Node

0.14.0

History Node

0.13.0

History Node

0.12.8

History Node

0.12.7

History Node

0.12.6

History Node

0.12.5

History Node

0.12.4

History Node

0.12.3

History Node

0.12.2

History Node

0.12.1

History Node

0.12.0

History Node

0.11.2

History Node

0.11.1

History Node

0.11.0

History Node

0.10.0

History Node

0.9.8

History Node

0.9.7

History Node

0.9.6

History Node

0.9.5

History Node

0.9.4

History Node

0.9.3

History Node

0.9.2

History Node

0.9.1

History Node

0.9

History Node

0.8.5

History Node

0.8.4

History Node

0.8.3

History Node

0.8.2

History Node

0.8.1

History Node

0.8

History Node

0.7

History Node

0.6

History Node

0.5

This version
History Node

0.4

History Node

0.3

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
MailShake-0.4.tar.gz (136.0 kB) Copy SHA256 hash SHA256 Source None Dec 8, 2011

Supported by

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