skip to navigation
skip to content

MailShake 0.12.1

Dramatically simplify sending email from your python app

Although Python makes sending email relatively easy via the smtplib module, this library 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.


from mailshake import SMTPMailer

mailer = SMTPMailer()
    text_content='Hello world!',
    to=['', '']

You can also compose several messages and send them at the same time:

from mailshake import SMTPMailer, EmailMessage

mailer = SMTPMailer()
messages = []
email_msg = EmailMessage(
    "Weekend getaway",
    'Here's a photo of us from our trip.',
    ['', '']


Mailers availiable:
  • SMTPMailer
  • AmazonSESMailer


  • ToConsoleMailer (prints the emails in the console)
  • ToFileMailer (save the emails in a file)
  • ToMemoryMailer (for testing)
  • DummyMailer (does nothing)
copyright:Juan-Pablo Scaletti.
license:MIT, see LICENSE for more details.
File Type Py Version Uploaded on Size
MailShake-0.12.1.tar.gz (md5) Source 2016-04-17 16KB
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 0 downloads in the last week
  • 1163 downloads in the last month