Skip to content

hanzhichao/emailz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emailz

Languate - Python PyPI - License PyPI PyPI - Downloads

Email Easy: easy use for sending emails

Install

pip install emailz

Simple Use

from emailz import email

email.config(user='[email protected]',password='***')
email.send(subject='Test', body='hi,\n,it is a test',receivers=['[email protected]'])

Use HTML

email.send(subject='Test', html='<h2>hi,it is a test</h2>',receivers=['[email protected]'])

Use Template file

email.send(subject='Test', template='tpl.html',receivers=['[email protected]'])

With attachments

email.send(subject='Test', attachments=['tpl.html'],receivers=['[email protected]'])

ToDo

  • Smtp Server mapping
  • @email decorators
  • trigger, crontab or more features
  • theme and templates to choose

About

easy use for send emails

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published