This is a very common API made by Flor for personal uses and examples.
/mailer
endpoint sends an e-mail to a setted address containing a message with the name and email of the author.
You need to create a .env
file with the following keys =
- PORT
- SMTP_HOST
- SMTP_USERNAME
- SMTP_PORT
- SMTP_PASSWORD
- SMTP_FROM_ADDRESS
- SMTP_TO_ADDRESS