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

import dotenv
dotenv.load_dotenv()
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.1.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.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: psemail-1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 7f356b0fbaa1e5aadeeb62fd887ad8966a034e7bc82d1a2eaa06f75a33031cce
MD5 5c345ed4b3c967b931bf250649665a1d
BLAKE2b-256 9320ff25426f92041be1b738988e4899aaa59bd7ab68a049dd734161268f21ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psemail-1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c8bf00715233a7ee1d962dc4b7c3084b8c16bbd8fe8dfe6fc09b7886c3b7e65d
MD5 406fd7ce83da90bd1e3c679ee8aba910
BLAKE2b-256 bafffa76440f15d63c4904e0e8797482de3d64f3d5aabe5398faebaffadb40c1

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