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
- Host: GitHub
- URL: https://github.com/djrobstep/emailx
- Owner: djrobstep
- Created: 2017-08-30T06:52:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-16T12:30:27.000Z (about 8 years ago)
- Last Synced: 2025-04-13T00:36:37.218Z (9 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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