Skip to main content

This script enables sending emails asynchronously from Azure Service Bus. Each bus message contains a sender's email address along with SMTP configurations. The script utilizes its SMTP configuration of the message for sending emails.

Project description

Modulairy Mail Sender

This script enables sending emails asynchronously from Azure Service Bus. Each bus message contains a sender's email address along with SMTP configurations. The script utilizes its SMTP configuration of the message for sending emails.

Parameters (OS Environments)

Name Description
SERVICEBUS_CONNECTION_STR Connection String for your Azure service bus instance
SERVICEBUS_QUEUE_NAME Queue name for email listening.

Model

{
    "sender":"<Your Mail Address>",
    "receiver":"<Recevier Address>",
    "bcc":"<BCC Address>",
    "cc":"<CC Address>",
    "subject":"test",
    "message":"<This is a <strong>TEST</strong> mail.",
    "smtp":{
        "server":"<SMTP Server Host>",
        "port":"<SMTP Server PORT>",
        "username":"<Your Mail Address>",
        "password":"<Your Mail Password>"
    }

}

Installation

pip install modulairy-mail-sender

Run

python -m modulairy-mail-sender

NOTE: If you send email to multiple addresses, you can join with a comma(,) these mail addresses

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

modulairy-mail-sender-0.0.2.1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

modulairy_mail_sender-0.0.2.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file modulairy-mail-sender-0.0.2.1.tar.gz.

File metadata

File hashes

Hashes for modulairy-mail-sender-0.0.2.1.tar.gz
Algorithm Hash digest
SHA256 c6659b20aa02ec580bea47133412c7e41679ffe3a1e94b32d65677b953a5b5bb
MD5 7db158f66f1d8c49c4798de3e84245b7
BLAKE2b-256 7093ef6a1b9495b7cf8909b8c4441c077d105ab96d849093cb51068563c1dc3b

See more details on using hashes here.

File details

Details for the file modulairy_mail_sender-0.0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for modulairy_mail_sender-0.0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fde3c75913f330e64fb1fceefd4f28b261d99078ebe6f813903993198dfbca9e
MD5 29d3b77477fc5cd09797288e987ec729
BLAKE2b-256 528f8a02f4d114325c451f70cbaa741063d4511f30d2016a113a629c0caebd10

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page