Skip to content

Basic web form enabling users to send messages to the website owner via email. Supports input of name, email, and message for single-user communication, using NODEMAILER

Notifications You must be signed in to change notification settings

pavan-kalyan0412/Nodemailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email Form Web Application

This is a simple web application that allows users to contact the website owner via email. Users can input their name, email address, and message through a form, and upon submission, the message is sent to the website owner's email address using Nodemailer. Features

Contact Form: Users can fill out a form with their name, email address, and message.
Email Sending: Upon form submission, the message is sent to the website owner's email address using Nodemailer.
Real-time Feedback: Users receive real-time feedback with a "Please wait..." message during the email sending process.
Success Message: Upon successful submission, users see a success message confirming that the email has been sent.

Technologies Used

Frontend: HTML, CSS, JavaScript
Backend: Node.js, Express.js
Database: MongoDB (for potential future expansion)
Email Sending: Nodemailer

Installation and Setup

Clone the repository to your local machine.
Install dependencies using npm install.
Set up a MongoDB database and configure the connection in emailRoutes.js.
Create a .env file with your Gmail credentials (see .env.example for reference).
Run the application using npm start.
Access the application through your web browser.

Usage

Fill out the form with your name, email address, and message.
Click the "Send Message" button to submit the form.
Upon successful submission, you will see a success message confirming that the email has been sent.

Note: PLEASE REFER THE PDF FILE, IF U WANT TO KNOW HOW TO GET MAIL PASSCODE.

About

Basic web form enabling users to send messages to the website owner via email. Supports input of name, email, and message for single-user communication, using NODEMAILER

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published