Giter VIP home page Giter VIP logo

multi-mail-sender's Introduction

Multi mail sender

About app

Multi mail sender is simple app to send many mails to many addresses.
App need two file csv and txt. In first csv necessary column is mail. In this column you can define address mail to which you send a message
You can define another column. If you do it app get column name and search it on your content mail. If app found that key words App will replace it with an element from the column
Second necessary file is content file. You should inside this file place your email content
App need yet title mail
Properties that app:
-h display help
-p path to properties file. You can define your properties file with sender data for example: " mail.smtp.host "
-v path to csv file with variable
-t title your mail
-c
path to content file

Download

Download Link

Compile

1. Clone project
https://github.com/mati2251/simple-authentication
2. Run Gradle
gradle 3. Define file src/main/resources/mail.properties example below 4. Run Gradle Jar
gradle jar 5. Jar file is in build/libs
6. Use and have fun :) example of usage below

CSV and TXT file example

If Your variables look like

mail product name
[email protected] apple Martin
[email protected] orange Nick
[email protected] banana Mark
Your CSV file should look
mail,product,name
[email protected],orange,Ncik
[email protected],apple,Martin
[email protected],pie,Nick

Example content txt file

Hello
I will buy product
Your 
name

Example of Properties File

mail = your email
password = your password
mail.smtp.host = your mail host
mail.smtp.port = smtp port
mail.smtp.auth = true
mail.smtp.socketFactory.port = smtp port
mail.smtp.socketFactory.class = javax.net.ssl.SSLSocketFactory

Example of usage

If you use example files from above you can run app with command

java -jar email-bot.jar -v pathToCSVFile -c pathToTXTFile -t "Title" -p pathToPropertiesFile

App send 3 mails: First mail will send to [email protected] and looks like

Hello
I will buy apple 
Your 
Martin

Second mail will send to [email protected] and looks like

Hello
I will buy orange 
Your 
Nick

Third mail will send to [email protected] and looks like

Hello
I will buy banana 
Your 
Mark

License

GNU General Public License v3.0

multi-mail-sender's People

Contributors

mati2251 avatar

Watchers

 avatar  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.