gerold-penz / python-simplemail

Send Emails with Python2 - Simple SMTP Email Client Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python-Simplemail - Send Emails with Python2 - Simple SMTP Email Client Library

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

About

Send Emails with Python2 - Simple SMTP Email Client Library


Languages

Language:Python 100.0%