java-mail-clients
                                
                                
                                
                                    java-mail-clients copied to clipboard
                            
                            
                            
                        Send Java Email from GMail, Outlook, Yahoo and Zoho. Demo App to test jHipster tip for Email
java-mail-clients
This demo is created to test the Java Mail Clients, to configure MailService is jHipster application as suggested in jHipster Tip - Configuring Email with - Gmail
Version
1.1.RELEASE
Note (for Gmail)
You must allow your Gmail account to access less secure apps.
Login to Gmail and visit Here to Turn On Access for less secure apps.
Installation
$ git clone https://github.com/RawSanj/java-mail-clients.git
Updated Version (added support for Attachments):
- Update 
ConfigConsts.javafile with to and from Email address and password. - Select the SMTP Server (GMAIL, YAHOO, OUTLOOK or ZOHO) and update the File path where the attachments are located.
 - Run the 
SendEmailWithAttachmentsclass as Java Application. 
Older Version:
- Change the 
sendToAddress,sendFromAddressandpasswordin the respective E-Mail client app and run as Java Application. 
Reference
Refer below links for API and SMTP settings:
- JavaMail API - JavaMail : version-1.5.4
 - GMail SMTP - Gmail SMTP Settings.
 - Outlook SMTP - Outlook SMTP Settings.
 - Yahoo SMTP - Yahoo SMTP Settings.
 - Zoho SMTP - Zoho SMTP Settings.
 
Tools
The following tools are used to create this project :
- Eclipse
 - Google Chrome
 - Git
 
License
The MIT License (MIT)
Copyright (c) 2017. Sanjay Rawat