This is a Next.js project bootstrapped with create-next-app
.
✅ No custom server!
⚡ Next.js 9.5+
📬 Nodemailer STMP
▲ Deployed on Vercel (formerly Now.sh)
View the demo here: https://nextjs-with-nodemailer.vercel.app/
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
This project requires nodemailer to run.
Nodemailer is a package for enabling easy SMTP in a Node.js environment.
Our email function is run under the /pages/api/submit
route.