/nextjs-with-nodemailer

An example Next.js App with Nodemailer integration.

Primary LanguageJavaScript

This is a Next.js project bootstrapped with create-next-app.

Features

✅ 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/

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Nodemailer

This project requires nodemailer to run.

Nodemailer is a package for enabling easy SMTP in a Node.js environment.

Email sending

Our email function is run under the /pages/api/submit route.