Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

goodatlas/manmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manmail

Name is inspired by mailman

Send e-mail, easier

How to use

pip install git+https://github.com/nerogit/manmail.git

from manmail import Gmail


email_addrs = 'YOUR_EMAIL_ADDRESS'
password = 'USER_PASSWORD_OF_EMAIL_ACCOUNT'
to_addrs = 'EMAIL_ADDRESS_WHO_RECEIVE_THE_MAIL'

gmail = Gmail(email_addrs, password)
content = '''
<h1>Hello</h1>
<p>It's me</p>
'''
gmail.send_mail(to_addrs, 'title', content)

Releases

No releases published

Packages

No packages published

Languages