Skip to content

API that forwards contact submission forms to mailgun

Notifications You must be signed in to change notification settings

derek-adair/flask-email-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flask-email-proxy

API that forwards contact submission forms to mailgun. Before running make sure you have signed up for mailgun and configured with your domains settings.

Config

This script uses environment variables;

MG_DOMAIN:STRING - Find your list of domains here MG_TO:STRING - Where you want the emails to be sent to. MG_KEY:STRING - os.getenv('MG_KEY', "REPLACE_ME_YOUR_KEY") FRONTEND_URI:STRING - used for CORS whitelist

To Run...

pip install -r requirements.txt && \
    python app.py
``

About

API that forwards contact submission forms to mailgun

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages