Skip to content

LaythOud/psemail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages