/NodeMailer-with-NextJS14

Node Mailer implmented for buisiness websites to collect customers responses.

Primary LanguageJavaScript

Contact Form UI

2023-12-24 01_17_01-Node Mailer with Next js

Email Result

2023-12-24 01_23_34-Editing Nodemailer-with-NextJS14_README md at master · gtgkartik_Nodemailer-with

Getting Started

Install dependencies

npm install

Start development server

npm run dev

Replace env variables

Replace environment variables with your own values

  • EMAIL
  • EMAIL_PASSWORD

the email here will be your google email and the password is not your google account password, you need to generate the app password and paste it here.

Steps to generate the app password

  • Go to your google account
  • search for app password in the search bar
  • Click on generate app password
  • replace this apppassword in the env file
  • make sure there are no spaces between the password while pasting it in the .env file