Skip to content

This project implements Gmail SMTP services with Spring Boot serving as the backend and React as the frontend framework. It provides a seamless solution for integrating Gmail's SMTP capabilities into web applications, enabling users to send emails directly from their application using Gmail accounts.

Notifications You must be signed in to change notification settings

Abhinav0915/Gmail-SMTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Email Service Application

This is a simple web application for sending emails, developed with a backend built using Spring Boot and a frontend built using React.js.

Endpoints

The backend provides the following endpoints:

  • POST /sendMail: Sends an email without attachment.
  • POST /sendAttachmentMail: Sends an email with attachment.

Dependencies Used

Backend Dependencies:

  • Spring Boot: Framework for creating web applications with Java.
  • Spring Boot Starter Mail: Provides support for sending emails in Spring Boot applications.
  • Lombok: Java library to reduce boilerplate code.
  • JUnit: Testing framework for Java.

Frontend Dependencies:

  • React.js: JavaScript library for building user interfaces.
  • react-scripts: Configuration and scripts for Create React App.

How to Run the Application

Backend Setup:

  1. Ensure you have Maven installed.
  2. Navigate to the EmailService-Backend directory.
  3. Run the following command to start the backend server:
mvn spring-boot:run

Frontend Setup:

  1. Ensure you have Node.js and npm installed.
  2. Navigate to the frontend directory.
  3. Run the following command to install dependencies:
npm install
  1. Run the following command to start the frontend server:
npm run dev

Accessing the Application:

  • Open your web browser and go to http://localhost:5173 to access the frontend application.
  • Interact with the frontend UI to send emails with or without attachments.

Sample Usage:

  1. Sending Email without Attachment:
  • Enter recipient email, subject, and message body.
  • Click on the "Send Email" button.
  1. Sending Email with Attachment:
  • Enter recipient email, subject, message body, and choose an attachment file.
  • Click on the "Send Email" button.

About

This project implements Gmail SMTP services with Spring Boot serving as the backend and React as the frontend framework. It provides a seamless solution for integrating Gmail's SMTP capabilities into web applications, enabling users to send emails directly from their application using Gmail accounts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published