A simple module for send SMTP-based notification emails.
Project description
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."
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smtp_email_notifier_utils-0.1.0.tar.gz.
File metadata
- Download URL: smtp_email_notifier_utils-0.1.0.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b3846500fda1be9a61390440f1731916877e4ad86d428745800e19d791fc8d3
|
|
| MD5 |
8139e9e92dc82620667c3f13575fa84b
|
|
| BLAKE2b-256 |
4d442e99e5f2bc9093a4408a63f0c3e1eb29ce4655dd8637b9a13f9ef8635e55
|
File details
Details for the file smtp_email_notifier_utils-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: smtp_email_notifier_utils-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d32318d84bf975715e7fb94fb329ddd624663850b16786f26fa42bdd90ae5a4c
|
|
| MD5 |
4bb0486adb47afe7cf6cd0c990b28be0
|
|
| BLAKE2b-256 |
ef7034ade80d43ae389dfb2cd6110acb3eedae4a590cb2dfcd1b1223e376901a
|