Skip to content

vaibhavblayer/init-mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sends mail with attachments from terminal

Install using pip

pip install init-mail

Usage

init-mail --help
Usage: init-mail [OPTIONS]

Options:
  -s, --subject TEXT     Subject of the email  [default: Hello there]
  -m, --mail TEXT        Message text  [default: Message]
  -i, --image PATH       Image path  [default: None]
  -a, --attachment PATH  Document attachment  [default: None]
  -t, --to TEXT          Email id to send to  [default:
                         vaibhavblayer@gmail.com]
  -h, --help             Show this message and exit.

Also you have to add few environment variables

Add these two lines with proper values in .zshrc/.bashrc

export mail_calculus_with_cig='calculus_with_cigarettes@gmail.com' //sender mail
export pass_gmail_calculus_with_cig='hgajtjshka' // pass key of gmail

Releases

No releases published

Packages

No packages published

Languages