Skip to content

A python utility to mail from gmail using OAuth2.0

Notifications You must be signed in to change notification settings

abhishm20/pymailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pymailer

A python utility to send mail from gmail using OAuth2.0

To download click_here

Setup

  1. goto downloads directory where pymailer is downloaded
# e.g. cd ~/Downloads/
  1. move pymailer to home directory
mv pymailer* ~/
  1. set alias to execute as command
printf "alias pymailer='python ~/pymailer/pymailer.py'\n" >> ~/.bash_profile
  1. load changes
source ~/.bash_profile
  1. run setup
pymailer --setup
  1. test sending a mail
pymailer -e your_email@gmail.com -s subject -b body

Required libs

  1. to install httplib2
pip install --upgrade httplib2
  1. to install oauth2client
pip install --upgrade oauth2client
  1. to install google-api-python-client
pip install --upgrade google-api-python-client

Thanks

About

A python utility to mail from gmail using OAuth2.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages