https://github.com/Thinkful-Ed/node-email-alert-middleware-challenge-starter
For the email sending feature to work, you need to set four configuration variables inside a .env
file:
ALERT_FROM_EMAIL='[email protected]'
ALERT_FROM_NAME='SERVICE ALERTS'
ALERT_TO_EMAIL='[email protected]'
SMTP_URL='smtps://[email protected]:[email protected]'
DO NOT hard code these into your source code. They should be set as environment
variables on your server, and your application code should access them via
process.env.myVar
.# email_node