Coder Social home page Coder Social logo

simple-mail-sender's Introduction

Simple Mail Sender using Spring Boot

This Spring Boot application allows you to send emails via SMTP, integrating with the Brevo service for seamless email delivery.

Getting Started

Follow these steps to set up and use the Simple Mail Sender:

Prerequisites

Make sure you have the following installed on your system:

  • Java

Setting up Brevo

  1. Create an account on Brevo.
  2. Log in and navigate to the Free Plan section to obtain your SMTP server details.

Configuring Application

  1. Clone the repository:

    git clone https://github.com/KrishanMihiranga/simple-mail-sender.git
  2. Open the application.properties file in the src/main/resources directory.

  3. Fill in the SMTP and API details obtained from Brevo:

    # application.properties
    
    # SMTP Configuration
    spring.mail.host=your-smtp-host
    spring.mail.port=your-smtp-port
    spring.mail.username=your-smtp-username
    spring.mail.password=your-smtp-password
    

    Replace your-smtp-host, your-smtp-port, your-smtp-username and your-smtp-password with your Brevo SMTP and API details.

Usage

  1. Run the backend:

    mvn spring-boot:run
  2. Run the frontend.

Now you can use the application to send emails via SMTP using the configured Brevo service.

Capture

License

This project is licensed under the MIT License - see the LICENSE file for details.

simple-mail-sender's People

Contributors

krishanmihiranga avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.