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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file modulairy-mail-sender-0.0.2.2.tar.gz
.
File metadata
- Download URL: modulairy-mail-sender-0.0.2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c9a5e4049b20cb4ac57cb9d54587a664f79be71f82b8a7ae09d204e0734fdc2 |
|
MD5 | 735a132348a1aa6fe779a5b5d7e55076 |
|
BLAKE2b-256 | 30550d9f0313b9b026793f771fd770a2889c4da71aaa8a40006f18e834ea4492 |
File details
Details for the file modulairy_mail_sender-0.0.2.2-py3-none-any.whl
.
File metadata
- Download URL: modulairy_mail_sender-0.0.2.2-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e25fc95ec597c96988908e6562e45ddb9bd706662951a8d692a967462965a4cd |
|
MD5 | d902420063f7a2d96956a3912349831a |
|
BLAKE2b-256 | d5835fb7a4e902b0893a5ca9f871b49875a792966e7d9f6c9d1f9d9fc993f914 |