Skip to content

Send email through RESTful API, SMTP server at backend

License

Notifications You must be signed in to change notification settings

hanson2010/restful-email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

restful-email

A flask application exposes RESTful API for backend SMTP server.

Features

  • Text and HTML
  • Async processing and task queues
  • Bulk sending and connection reuse

Setup

  • Install libs:
    • pip install flask
    • pip install flask-mail
  • Define parameters:
    • Change the content in config.py
    • Create an envvar RE_SETTINGS pointing at the config file
  • Start up application by python restful-email/app.py
  • Post data to http://127.0.0.1:5000/api/mail.send.json

About

Send email through RESTful API, SMTP server at backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages