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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for modulairy-mail-sender-0.0.2.6.tar.gz
Algorithm Hash digest
SHA256 e7bec560786ad5ee865b9232cf1f1efb785f8ec652cab91fde267041e864acf6
MD5 ac358c718133b020e1672ddd48f30e40
BLAKE2b-256 36573d25a9547b9b47ea3ee572e0507b8033c31762f11b2daed818656c7ae8ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for modulairy_mail_sender-0.0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d4e936c6876af1c7da476933b19172ebdbcbb1fafbdf0f9d54fa3aa9eeb6c0c0
MD5 ffc12d599b5aa6d7dfb9c87f21e162ef
BLAKE2b-256 4eb4a5bce0e5fd52abb57a2a309518323003894695062ed05535bb5f3b80546d

See more details on using hashes here.

Supported by

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