Skip to main content

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."

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.2.0.tar.gz (15.2 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.2.0-py2.py3-none-any.whl (9.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for smtp_email_notifier_utils-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6b7cb8ca22b30f5225c7c36a40f859eccec29fab2b645ff6ec5cf555098f1195
MD5 539bfd6efc4960b16e0c6d9223dc3f5f
BLAKE2b-256 e204cfff16804f297244a9052610d1e05d9cce8375416b8d9ee4212226ee79fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for smtp_email_notifier_utils-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bd9a3612e31adc4b985fcb8f1a29f66c300d13b34b6b9746c9968cdf7563c9fc
MD5 64e5e78509389eafd81b0830db40736c
BLAKE2b-256 2b630afd8eec47d81f1ed767d3a6ed5676ee046c5db42cba739d69d72060658d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.0

2 files

Supported by

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