Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smtp_email_notifier_utils-0.1.0.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

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

smtp_email_notifier_utils-0.1.0-py2.py3-none-any.whl (9.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file smtp_email_notifier_utils-0.1.0.tar.gz.

File metadata

File hashes

Hashes for smtp_email_notifier_utils-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9b3846500fda1be9a61390440f1731916877e4ad86d428745800e19d791fc8d3
MD5 8139e9e92dc82620667c3f13575fa84b
BLAKE2b-256 4d442e99e5f2bc9093a4408a63f0c3e1eb29ce4655dd8637b9a13f9ef8635e55

See more details on using hashes here.

File details

Details for the file smtp_email_notifier_utils-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for smtp_email_notifier_utils-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d32318d84bf975715e7fb94fb329ddd624663850b16786f26fa42bdd90ae5a4c
MD5 4bb0486adb47afe7cf6cd0c990b28be0
BLAKE2b-256 ef7034ade80d43ae389dfb2cd6110acb3eedae4a590cb2dfcd1b1223e376901a

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