An open API service indexing awesome lists of open source software.

https://github.com/djrobstep/emailx

Extremely simple emailing for python
https://github.com/djrobstep/emailx

Last synced: 9 months ago
JSON representation

Extremely simple emailing for python

Awesome Lists containing this project

README

          

# emailx: easy as hell email sending for python

Install like this:

pip install emailx

Use like this:

from emailx import Email, smtp_connection

SMTP = 'smtp.example.com'

LOGIN = ('alex', 'password123')

dummy_recipients = 'Alex '

with smtp_connection(SMTP, LOGIN) as c:
e = Email(
source='Alex ',
subject='Hello',
body='Body',
html_body='Body',
to_addresses='Bobby