Giter Club home page Giter Club logo

javamailintegrationapi's Introduction

Java E-Mail Integration


Java Maven GPL v3


Java E-mail Integration (Sender) is a simple command-line tool that allows you to send emails to multiple recipients using JavaMail. It offers a convenient way to send emails programmatically with custom configurations.

Prerequisites

Before using this tool, ensure that you have the following prerequisites installed on your system:

  • Java Development Kit (JDK)
  • Apache Maven (for building the project)

Usage

  1. Clone the Repository:

    Clone this repository to your local machine:

    git clone <repository-url>
  2. Build the Project:

    Use Maven to build the project:

    mvn clean install
  3. Run the Program:

    Execute the program by providing your email account password as an argument:

    java -jar target/weekly-test-email-sender.jar <your-email-password>

    Replace <your-email-password> with the password of your email account. This password is required for authentication and sending emails.

  4. Send Emails:

    Follow the on-screen prompts to send emails:

    • Enter the number of recipients.
    • Enter the email addresses of the recipients one by one.
    • The program will send the email to the specified recipients.

Project Structure

The project is structured as follows:

  • src/main/java/org/geekster/weeklyTest/ - Contains the Java source code.
    • Main.java - Main entry point of the program.
    • customMailAuthenticate.java - Custom authentication for sending emails.
    • mailHandler.java - Handles the sending of emails.
  • src/main/resources/mailMetaData.properties - Configuration properties for email sending.
  • pom.xml - Maven project configuration file.
  • target/ - Directory containing the compiled JAR file.

Configuration

Customize the email sending properties in the mailMetaData.properties file:

  • host - The email server host.
  • port - The email server port.
  • sslProperty - Enable or disable SSL (true or false).
  • authPerm - Enable or disable authentication (true or false).
  • senderMail - Your sender email address.

Contributing

We welcome contributions! To contribute to this project:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Implement your changes and commit them.
  4. Push your changes to your fork.
  5. Create a pull request to the main repository.

License

This project is licensed under the GNU General Public License v3.0.

Acknowledgments

Thank you to the Maven and Java communities for providing excellent tools and resources.

Contact

For questions or feedback, please contact Amit Ashok Swain.

javamailintegrationapi's People

Contributors

amit-ashok-swain 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.