Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Mailing With Python

A simple Python script to send emails programmatically.

Features

  • Send emails using SMTP
  • Supports plain text and HTML content
  • Easy configuration

Requirements

  • Python 3.x
  • smtplib (standard library)
  • email (standard library)

Usage

  1. Clone the repository.
  2. Edit main.py to configure your SMTP server, sender, recipient, and message.
  3. Run the script:
python main.py

Configuration

In main.py, set the following variables:

smtp_server = "smtp.example.com"
smtp_port = 587
username = "your_email@example.com"
password = "your_password"
sender = "your_email@example.com"
recipient = "recipient@example.com"
subject = "Your Subject"
body = "Email body goes here."

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages