|
| 1 | +# A Mass Mailer Java Application using Jakarta Mail API. |
| 2 | +*** |
| 3 | + |
| 4 | +## The purpose of this program is to enable the user to send out bulk emails. |
| 5 | +--- |
| 6 | + |
| 7 | +Download the Jakarta Mail and the Jakarta Activation JAR Files and configure in your repository from:\ |
| 8 | +[Download Jakarta Mail](https://eclipse-ee4j.github.io/mail/#Download_Jakarta_Mail_Release)\ |
| 9 | +[Download Jakarta Activation](https://mvnrepository.com/artifact/com.sun.activation/jakarta.activation/2.0.1) |
| 10 | + |
| 11 | +--- |
| 12 | + |
| 13 | +The recipients.txt found in src\\resources\\ folder is where the recipient emails are stored (separated by a ',(comma)').\ |
| 14 | +The user can manually add new recipients in the recipient.txt file from within the program too. |
| 15 | + |
| 16 | +--- |
| 17 | + |
| 18 | +The content.txt found in src\\resources\\ folder is where the text written in the email is stored.\ |
| 19 | +The user can override the text from within the program. |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | +--- |
| 24 | + |
| 25 | + |
| 26 | +The user is required to add a Subject for the Email(s). |
| 27 | + |
| 28 | +The user can choose if he wants to add CC, BCC or Attachments to his email(s). This is Optional. |
| 29 | + |
| 30 | +The user then needs to enter his Email ID, from which he wishes to send the mail(s). |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | +--- |
| 35 | + |
| 36 | +Once the user email is entered, the user has a choice to send each mail individually or to send 1 mail to all of the recipients. |
| 37 | +If the user chooses the 1 mail(all) option, he can futher choose if he wants to hide the recipient emails while sending |
| 38 | +(this is done by adding all emails to BCC which in turn hides the emails from the end user - the reciever). |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | +--- |
| 43 | + |
| 44 | +The MassMailer_FakeSmtp Program is set up for the Fake SMTP Server, which can be downloaded at:\ |
| 45 | +[Download Fake Smtp Server](http://nilhcem.com/FakeSMTP/download.html) |
| 46 | + |
| 47 | +--- |
| 48 | + |
| 49 | +Once the Fake SMTP Server is downloaded, start the server at 8080 Port,\ |
| 50 | +if you want to use a different port go to src\\resouces\\fake_smtp.properties\ |
| 51 | +and change the 'mail.smtp.port' to any port of your choice. |
| 52 | + |
| 53 | +--- |
| 54 | + |
| 55 | +The MassMailer_Gmail Program is set up for the Google Mail (Gmail) Server,\ |
| 56 | +Can be Similarly set for other Email Providers. |
| 57 | + |
| 58 | +--- |
| 59 | + |
| 60 | +Resolving AuthenticationFailedException\ |
| 61 | +(Google doesn't allow to send mails from unknown locations) |
| 62 | + |
| 63 | +Click on this link and click on turn on radio button to allow users to send mail from unknown location.\ |
| 64 | +[Google less Secure Apps](https://www.google.com/settings/security/lesssecureapps) |
| 65 | + |
| 66 | +--- |
0 commit comments