Skip to content
Python Library to send emails via gmail
Python
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README
gsendmail.py

README

gSendMail is a simple library to allow for sending email from your gmail or google apps on domains account.  There are two usages, including in your application or executing the gsendmail.py and passing in arguments

Including in Application:
	from gsendmail import GSendMail
	g = GSendMail('sender@gmail.com', 'password')
	g.send_html('rec@gmail.com', 'Subject', 'Body with <b>Html</b>')

Calling from terminal:
	python gsendmail.py -u sender@gmail.com -p password -t rec@gmail.com -s Subject -b "body with <b>Html</b>"
Something went wrong with that request. Please try again.