Skip to main content

An easier way to send Email

Project description

cheesefactory-email


An easier way to send an Email.

PyPI Latest Release PyPI status PyPI download month PyPI download week PyPI download day

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

cheesefactory-email-0.6.tar.gz (7.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page