GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Amit-Ashok-Swain/JavaMailIntegrationAPI: Java Email 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.

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
src/main/java/org/geekster/weeklyTest
src/main/java/org/geekster/weeklyTest
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

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.

About

Java Email 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.

Topics

java-emailjava-email-applicationjava-mailjava-mail-apijava-mail-senderjava-mailer

Resources

Readme
GPL-3.0 license
Activity

Stars

0 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.