Skip to main content

Send Emails with Python - Simple SMTP Email Client Library

Project description

Send emails with and without attachments.

Installation

pip install python-simplemail

Example

import simplemail
simplemail.Email(
    smtp_server = "localhost",
    smtp_user = "my_username",
    smtp_password = "my_password",
    from_address = "sender@domain.at",
    to_address = "recipient@domain.at",
    subject = u"This is the subject with umlauts (ÖÄÜß)",
    message = u"This is the short message body with umlauts (ÖÄÜß)."
).send()

Find examples in the German Python-Forum: http://www.python-forum.de/viewtopic.php?f=11&t=3158

Licenses

  • GNU Library or Lesser General Public License (LGPL)
  • MIT License

Project details


Release history Release notifications

This version
History Node

2.1.0

History Node

2.0.4

History Node

2.0.3

History Node

2.0.2

History Node

2.0.1

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
python-simplemail-2.1.0.tar.gz (12.5 kB) Copy SHA256 hash SHA256 Source None Jul 23, 2015

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