An easier way to send Email
Project description
cheesefactory-email
An easier way to send an Email.
Features
Note: This package is still in beta status. As such, future versions may not be backwards compatible and features may change. Parts of it may even be broken.
TODO
Create an Email object and send
from cheesefactory_email import CfEmail
mail = CfEmail(
host='localhost',
port='25',
username='emailuser',
password='emailpassword',
use_tls=False,
header_tags={'X-Barracuda-Encrypted': 'RJSE-RSA-AES256-SHA'},
debug=False
)
transfer_log = mail.send(
sender='tom@example.com',
recipients=['bob@example.com', 'mary@example2.com'],
cc_recipients=['carol@example.com', 'larry@example2.com'],
subject='Fishing trip',
body='Dear Bob,\nHow was the fishing trip?\n\nTom',
attachments=['/tmp/file1.txt', '/tmp/file2.txt']
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cheesefactory-email-0.6.tar.gz
.
File metadata
- Download URL: cheesefactory-email-0.6.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d54cf7662c6d74d0d90067e4759f85c0b5bb7e8a4012bfb13a0e27f5807c5710 |
|
MD5 | e1a97477d2157f5909b29b7124ef47ac |
|
BLAKE2b-256 | 9d19e964d47976f3894c63ec93a470e82ef8aa65d652283c160d1d1be9ee08f6 |