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)
Metadata
Release files for emailx 0.1.1504076508
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| emailx-0.1.1504076508.tar.gz | 4.5 kB | Without provenance | Details for emailx-0.1.1504076508.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| emailx-0.1.1504076508-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for emailx-0.1.1504076508-py2.py3-none-any.whl |
Total release size: 11.1 kB
Release files / emailx-0.1.1504076508.tar.gz
| Download URL | emailx-0.1.1504076508.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b09db0ba2696ecd249b0f082235d4cc4d0f128e8c0019e69b641f0ff8e445618
|
|
BLAKE2b-256 checksum How to use checksums |
e33261244e7646bbdc9c9c2caad442fe6ca781d378b23bfdf9d8be0214583f5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / emailx-0.1.1504076508-py2.py3-none-any.whl
| Download URL | emailx-0.1.1504076508-py2.py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d40dd516e5d2a86d1db33688afc246b03ec880c92a8334b719b07439e1c2fe16
|
|
BLAKE2b-256 checksum How to use checksums |
f5f91ea8a4e62ade671c404cfd80032d9c85e75bda7331682f2fa7a929ebb3f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for emailx 0.1.1504076508
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.