This project helps send test emails using Node.js and Mailtrap.
It is useful for web developers who want to learn how to send emails safely from their backend applications without spamming real inboxes.
When you run the file index.js, it connects to Mailtrap using credentials stored in the .env file and sends a test email to your Mailtrap inbox.
index.js→ main program.env→ stores Mailtrap credentialspackage.json→ contains dependencies and scriptsREADME.md→ documentation file
- Install Node.js
- Open Terminal → navigate to your project folder
- Run:
npm install
##Run the program:
node index.js
Check your Mailtrap Inbox for the test email
##Author Info
Author: Shravani Patil