Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MailingClient

What this project does.

  1. Connects securely to Gmail's SMTP server with TLS
  2. Logs in with credential stored in a seperate file
  3. Builds a MIME message with headers and reads body from a file
  4. Sends the email, and closes connection

What I learned.

  • Python standard libraries: using smtplib, email.mime, and encoders
  • File I/0: reading credentails and contents from files
  • Network Basics: How SMTP works and its ports
  • Security: TLS vs SSL, importance of connections and avoiding hardcoded passwords.

How to Run.

  • Save credentails in credentails.txt (oner per line: email, password, recepient)
  • Write message in mail.txt
  • Run script: python main.py

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages