# 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 <alex+testing@example.com>'
with smtp_connection(SMTP, LOGIN) as c:
e = Email(
source='Alex <alex@example.com>',
subject='Hello',
body='Body',
html_body='<html>Body</html>',
to_addresses='Bobby <bobby@example.com',
bcc_addresses='Kim <kim@example.com>',
attachments={
'a.csv': csv_data
}
)
c.send(e)
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 <alex+testing@example.com>'
with smtp_connection(SMTP, LOGIN) as c:
e = Email(
source='Alex <alex@example.com>',
subject='Hello',
body='Body',
html_body='<html>Body</html>',
to_addresses='Bobby <bobby@example.com',
bcc_addresses='Kim <kim@example.com>',
attachments={
'a.csv': csv_data
}
)
c.send(e)
Release files for emailx 0.1.1504223903
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| emailx-0.1.1504223903.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| emailx-0.1.1504223903-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size:11.0 kB
Release files / emailx-0.1.1504223903.tar.gz
| Download URL | emailx-0.1.1504223903.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cacc93766a9f07f2107f5c31d0fc41b230a9c50884148225f7afcfb19a3787cd
|
|
BLAKE2b-256 checksum How to use checksums |
18a2fe431d1acc06f8c4e2fbf393d13b0d886a37846d5c8841d7493c7556501a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / emailx-0.1.1504223903-py2.py3-none-any.whl
| Download URL | emailx-0.1.1504223903-py2.py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1f9195267f742beca43063d5ff7c92aca19545aadb719f8d6d5568fd442e1776
|
|
BLAKE2b-256 checksum How to use checksums |
ea16d77645c324eb3661d0f99edd0ac5c2bd55267c862d1bf9dc80fe863847fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |