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.3.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for modulairy-mail-sender-0.0.2.3.tar.gz
Algorithm Hash digest
SHA256 33c19ce3315a8fc128e9dae0960d7a30b8da4125aabbeb77eca16120ad9e9353
MD5 7d301e1e5d3521ec37d3a841f129f99f
BLAKE2b-256 d4964ed302d5642b579a97b01fc34e5fdf6b0d1a7b922aafb2dc9e7e347b85cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for modulairy_mail_sender-0.0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7fd6e36c2c8f8f8eac2b37c590944ecf8e3a9fc0ffb77df20a3a78b4b7286913
MD5 2ab35d859be3f9fc1d9acf811e7b25d5
BLAKE2b-256 b7f67025cbec1719e118809a3d586a254ec6869f7c0a3f94bb8a7bc83c6b1065

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