Skip to main content

Simple SMTP Client For Sending Emails With And Without Attachments

Project description

Python-Simplemail sends 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 = u"sender@domain.at",
    to_address = u"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.0.2.tar.gz (7.6 kB view hashes)

Uploaded Source

Supported by

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