A simple module for sending SMTP-based notification emails.
Usage
from smtp_email_notifier_utils.email_notifier import send_notification
# Example usage
recipient = "someone@example.com"
subject = "Important Notification"
message = "Hello, this is your notification message."
success = send_notification(recipient, subject, message)
if success:
print("Notification sent successfully!")
else:
print("Failed to send notification")
Exported scripts
send-notification-email
send-notification-email --recipient someone@example.com --subject="Important Notification" --message="Hello, this is your notification message."
Metadata
Release files for smtp-email-notifier-utils 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| smtp_email_notifier_utils-0.2.0.tar.gz | 15.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| smtp_email_notifier_utils-0.2.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 24.8 kB
Release files / smtp_email_notifier_utils-0.2.0.tar.gz
| Download URL | smtp_email_notifier_utils-0.2.0.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b7cb8ca22b30f5225c7c36a40f859eccec29fab2b645ff6ec5cf555098f1195
|
|
BLAKE2b-256 checksum How to use checksums |
e204cfff16804f297244a9052610d1e05d9cce8375416b8d9ee4212226ee79fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / smtp_email_notifier_utils-0.2.0-py2.py3-none-any.whl
| Download URL | smtp_email_notifier_utils-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
bd9a3612e31adc4b985fcb8f1a29f66c300d13b34b6b9746c9968cdf7563c9fc
|
|
BLAKE2b-256 checksum How to use checksums |
2b630afd8eec47d81f1ed767d3a6ed5676ee046c5db42cba739d69d72060658d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|