Setting Up an Email Form With Node.js, Express, and Mailgun Part 1

Setting Up a Mailgun Account

install the latest version of node package manager

Creating Our Application

the -y flag automatically answers yes to all the prompted questions
install mailgun-js

Writing The Code

Copy the boiler plate code
boiler plate code before you add your own domain and API key

Making Adjustments

Overview of the Code

Your domain or sandbox domain will be in the blacked out section



Not Out Of The Woods Yet



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aidan McBride

Aidan McBride

I ‘m a Web Developer and a Flatiron coding bootcamp alumni. I currently work in the financial tech industry as a Front End Engineer