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


Download files

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

Source Distribution

python-simplemail-2.1.0.tar.gz (12.5 kB view details)

Uploaded Source

File details

Details for the file python-simplemail-2.1.0.tar.gz.

File metadata

File hashes

Hashes for python-simplemail-2.1.0.tar.gz
Algorithm Hash digest
SHA256 9b1b3caf3347fd453ea93633922edcc53d6a454a02f1129660ef203f0f5a5e63
MD5 d8e2275f2baf23d002d0a76bfa58f420
BLAKE2b-256 8ddba55fd974fc74506fdceb1e7cf0a990b49434bdad70f9cf307abe3c8f13d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page