This demo project showcases how Next.js can be used to send emails through SMTP or AWS SES. It incorporates react-mail for utilizing email templates and features basic authentication for enhanced security.
First, setup a .env.local
file with the required parameters.
Second, run the development server:
npm run dev
Third, open http://localhost:3000 with your browser to see the result.