In this post under Java Mail, I will explain the use of ConnectionListener interface with an example. Note: For this example and other examples in future we need to have1) Gmail account2) GMail SMTP server address3) Stop the antivirus software running on your local.4) Create an application password. The steps are mentioned in the url…… Continue reading ConnectionListener Example
Category: Java Mail
TransportListener Example
In this post under Java Mail, I will explain with example the purpose and how to use TransportListener interface. Note: For this example and other examples in future we need to have1) Gmail account2) GMail SMTP server address3) Stop the antivirus software running on your local.4) Create an application password. The steps are mentioned in…… Continue reading TransportListener Example
Sending Email Using SMTP (Approach 2)
In this post under Java Mail. I will show with an example how to send email using Java Mail api and SMTP protocol. Note: For this example and other examples in future we need to have 1) Gmail account 2) GMail SMTP server address 3) Stop the antivirus software running on your local. 4) Create…… Continue reading Sending Email Using SMTP (Approach 2)
Sending Email Using SMTP (Approach 1)
In this post under Java Mail. I will show with an example how to send email using Java api and SMTP protocol. Note: For this example and other examples in future we need to have 1) Gmail account 2) GMail SMTP server address 3) Stop the antivirus software running on your local. 4) Create an…… Continue reading Sending Email Using SMTP (Approach 1)