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
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
psemail-1.2.tar.gz
(2.8 kB
view details)
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
psemail-1.2-py3-none-any.whl
(3.3 kB
view details)
File details
Details for the file psemail-1.2.tar.gz.
File metadata
- Download URL: psemail-1.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19164ea27d6f8bcd907d0aa2c0247f8c4294797392beb4b9137c931dc44ce978
|
|
| MD5 |
180d22a8e81e856cea1844c98b1508b8
|
|
| BLAKE2b-256 |
77869a7322c35b9c582f2aebe736e084122aacab3412ea04a20eff0d8dc16068
|
File details
Details for the file psemail-1.2-py3-none-any.whl.
File metadata
- Download URL: psemail-1.2-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f44772ca2dc4ac026985b3f58e6d6a6b9a03cab8c036e69cfa8b38f1cc3cb6a
|
|
| MD5 |
b2f72b5d5913efe49195e3b13ff96c14
|
|
| BLAKE2b-256 |
9cb25a07b1cb396c0c448ae52ead98fd1c7686afa266f2cb47ecb2aca8ee3831
|