Winner95 / NodeMailerServer

nodeMailer server, which is run on Heroku + any remote mail-service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeMailerServer

nodeMailer server, which is run on Heroku + any remote mail-service.

How to start

Simply follow these steps:

  1. Register at Heroku
  2. Upload this code to new instance on Heroku
  3. Add to Heroku instance your env_variables from index.js: process.env.VARS in dashboard
  4. Add any email service credential (without second factor) to env_variables
  5. Deploy code to Heroku instance
  6. Apply CORS to Heroku instance, if needed
  7. Run POST-requests from your frontEnd to Heroku instance with certain data in request.body:
    • name
    • email
    • phone

Credits

This project is created for boilerplate reasons, so feel free to use or modify this tpl in your work. 👍

About

nodeMailer server, which is run on Heroku + any remote mail-service

License:MIT License


Languages

Language:JavaScript 99.2%Language:Procfile 0.8%