Discuss about JavaMail

Discuss about JavaMail.

Java Mail is an API that is used to receive and send emails between applications. To send the emails, the protocols, SMTP, POP and IMAP are used. The messages sending and receiving is done by creating a framework using set of abstract classes in the API. The framework allows the application to create customized cross-platform mail application by having basic knowledge of e-mail. There are methods and classes that are used to access mail folders, message downloading and sending messages along with attachments.

Potential advantages include - Java mail is used to create personal mail filter, simple mailing lists and personal mail applications. Java mail also includes the capabilities to add the emailing process to an enterprise application or even to create a full-fledged e-mail client. Many companies in the industry have written new e-mail clients using Java Mail.

Discuss about JavaMail.

1. JavaMail is a set of abstract classes that create a framework for sending, receiving and handling e-mail.
2. The package that Sun provides contains implementations of IMAP and SMTP, which allow sending and receiving mail.
3. The framework eases the creation of cross-platform mail application without an in-depth knowledge of e-mail.
4. There are methods and classes that allow access to mail folders, download messages, send messages with attachments and filter mail.
Explain POP, SMTP and IMAP protocols
POP, SMTP and IMAP protocols - POP: The Post Office Protocol is an application-level protocol within an intranet which are used by the local e-mail clients to send and retrieve e-mails from a remote server those are connected using TCP/IP.......
Explain the use of MIME within message makeup
Use of MIME within message makeup - MIME message includes the picture stored as file in GIF format and the GIF format uses 8-bit format.......
Structure of Javamail API
Structure of Javamail API - The JavaMail API has classes such as Message, Store and Transport. The API can be used to subclass for providing new protocols and some additional functionality when needed......
Post your comment