Skip to main content

No project description provided

Project description

psemail

psemail is a Python library for sending emails using smtplib, designed primarily for system health monitoring notifications, with potential for future extensions.

Installation

pip install psemail

Usage

from psemail.email_sender import send_email

send_email("recipient@example.com", "Subject", "Email body")

Environment Variables

Create a .env file with the following content:

EMAIL_SENDER=your_email@example.com
EMAIL_PASSWORD=your_email_password
SMTP_SERVER=smtp.example.com
SMTP_PORT=465

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

psemail-1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

psemail-1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file psemail-1.0.tar.gz.

File metadata

  • Download URL: psemail-1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for psemail-1.0.tar.gz
Algorithm Hash digest
SHA256 70022c940afa08edeb1418a5785f0cec20fcfd8a6afdc546beb16ad2a3446974
MD5 e6094552bb89d2bccc427e7964709305
BLAKE2b-256 b36ad07aab48474595890c2e167beb977a04b7fa037e50fed06d0914c8ea3b96

See more details on using hashes here.

File details

Details for the file psemail-1.0-py3-none-any.whl.

File metadata

  • Download URL: psemail-1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for psemail-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8027fc8a42c777a3e084f910a6910ffb911be53f9538096801d973979ac84b78
MD5 d848a42c26c1b0b81ddc804fc1ec2d33
BLAKE2b-256 5bb5b6bf9694c089a36e150e9c73032d1c57ee190316628fbfdc702a501a174f

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