JavaMail Archive

Receiving email using JavaMail API

In the previous article, we have looked at sending mail with Java Mail API.Sending e-mail was relatively simple with only one protocol (SMTP) to handle. But Reception involves two protocols, POP3 and IMAP. POP3 is …

Send an Email via Gmail SMTP

We can send email by using the SMTP server of gmail. It is good if you are don’t have any SMTP server and reliable. Here we will learn how to send email through gmail server …

Sending Email JavaMail API

Here is an example to send a simple email. Here we have used SMPT server via which emails are sent to our destination email address. There are various ways to send email using JavaMail API. …

JavaMail API Core Classes

The JavaMail API consists of some interfaces and classes used to send, read, and delete e-mail messages. Though there are many packages in the JavaMail API, will cover the main two packages that are used …

JavaMail API Environment Setup

You will install Sun’s JavaMail reference implementation .After you install the Sun’s JavaMail reference then introduce the demonstration programs that come with the reference implementation. Then using the some special Task to established JavaMail API …