Skip to main content

Stack:

Installation

pip install email-broadcasting

Usage

Asyncio with SSL

import asyncio

from email_broadcasting import MailBroadcasterAsyncSmtpSSL


async def main():
    config = dict(
        login=EMAIL_SERVER_LOGIN,
        password=EMAIL_SERVER_PASSWORD,
        host=EMAIL_SERVER_HOSTNAME,
        port=EMAIL_SERVER_PORT,
    )
    mailer = MailBroadcasterAsyncSmtpSSL(**config)
    await mailer.send_emails(
        recipients=[LIST_OF_RECIPIENTS],
        subject=EMAIL_SUBJECT,
        body=EMAIL_BODY,
        send_from=EMAIL_SENT_FROM,
    )


if __name__ == '__main__':
    asyncio.run(main())

Sync with SSL

from email_broadcasting import MailBroadcasterSyncSmtpSSL


def main():
    config = dict(
        login=EMAIL_SERVER_LOGIN,
        password=EMAIL_SERVER_PASSWORD,
        host=EMAIL_SERVER_HOSTNAME,
        port=EMAIL_SERVER_PORT,
    )
    mailer = MailBroadcasterSyncSmtpSSL(**config)
    mailer.send_emails(
        recipients=[LIST_OF_RECIPIENTS],
        subject=EMAIL_SUBJECT,
        body=EMAIL_BODY,
        send_from=EMAIL_SENT_FROM,
    )


if __name__ == '__main__':
    main()

Metadata

Release files for email-broadcasting 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for email-broadcasting 0.1.4
File Size Uploaded Provenance Actions
email_broadcasting-0.1.4.tar.gz 2.9 kB Without provenance Details for email_broadcasting-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for email-broadcasting 0.1.4
File Interpreter ABI Platform Actions
email_broadcasting-0.1.4-py3-none-any.whl Python 3 none any Details for email_broadcasting-0.1.4-py3-none-any.whl

Total release size: 7.3 kB

Release files / email_broadcasting-0.1.4.tar.gz

Download URL email_broadcasting-0.1.4.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c82553d4f74b07e2e55541664a4cf1cb2f56855a92945323c1c4f9b735ee4f35
BLAKE2b-256 checksum
How to use checksums
7fe3e9baf4116887dfd70078c2804694b5176597dd1e9733c6bdac63ee71009c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.4 Linux/6.8.0-45-generic

Release files / email_broadcasting-0.1.4-py3-none-any.whl

Download URL email_broadcasting-0.1.4-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82aa77b933e11725af76daa93bc4ba722de65749968d89ced9d3aab2c7eaeb58
BLAKE2b-256 checksum
How to use checksums
4a0a565faee29312898f67d2a15062b6fec4df2ada834137d80056322d1aaafc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.4 Linux/6.8.0-45-generic

Security for email-broadcasting 0.1.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page