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

Uploaded Source

Built Distribution

modulairy_mail_sender-0.0.2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modulairy-mail-sender-0.0.2.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for modulairy-mail-sender-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ed228b108080a259177099aba53105bf32d3358d812734a88a5bc8c92cf27749
MD5 5b184116fafc15e33ea7ad082fd7bfec
BLAKE2b-256 af4391a23d97acd7e35de56a7d3f79fe7d51e8f803ec7b93370293abc50725a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for modulairy_mail_sender-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5ffb6cc3b1a6cb3bb898d3bf19e48281642ab0aad712a989838d512af4b22ef4
MD5 350dc1120454d23992c5eac8fba36162
BLAKE2b-256 d7bc9e133aaea8cc735cbecfe23f486251479ae0a4357e0f0cc88f5cd8e77ca5

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