Skip to content

phoenfrisur/send-emails-from-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sending Emails with Python from Terminal

This is a simple python script for sending email messages from the terminal. You can configure the subject, the sender's and recipient's email addresses as command line arguments. The email body and potential attachments are added by specifying their relative paths.

Installation

$ git clone [email protected]:pentaquarx/send-emails-from-terminal.git
$ cd send-emails-from-terminal
$ pip install -r requirements.txt

Usage

$ python send_mails.py -t '<subject>' -s '<sender email>' -r '<recipients email>' -b '<path/to/body>' -a '<path/to/attachment>'

About

Python script for sending emails from command line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published