Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Very simple and unicode friendly way to send email message from Python code.

Project Description

Usage:

sudo pip install send_email_message
from send_email_message import send_email_message

email_config = dict(
    host='smtp.gmail.com',
    port=587,
    tls=True, // Or ssl=True with another port.
    user='admin@example.com',
    password='password',
    from_name='Example Site',
    # Default: encoding='utf-8'
)

send_email_message(
    to='denisr@denisr.com',
    subject='Example News',
    text='Please see http://example.com/',
    html='<html><body>Please see <a href="http://example.com/">example.com</a></body></html>',
    **email_config
)

Rare usage:

login_plain=True, # Some servers are OK with TLS, but require "LOGIN PLAIN" auth inside encrypted session.
debug=True, # Enables debug output.
Release History

Release History

This version
History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
send_email_message-0.1.5.tar.gz (1.8 kB) Copy SHA256 Checksum SHA256 Source Feb 19, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting