Javamail api Interview Questions and Answers

Explain JavaMail?

Email:
Electronic mail refers to the method of exchanging digital messages from an author to one or more recipients over communications networks.
JavaMail API:
The JavaMail API provides a platform-independent and protocol-independent framework to for reading, composing, and sending emails.

See more at: JavaMail API Overview.

What is POP?

POP is an acronym for Post Office Protocol. POP provides a mechanism to get the emails. It provides support for single mail box for each user.

Can you explain SMTP?

SMTP is an acronym for Simple Mail Transfer Protocol. It provides a mechanism to deliver email.

Explain IMAP?

IMAP is an acronym for Internet Message Access Protocol. It is an advanced protocol for receiving messages. It provides support for multiple mailboxes for each user. It also provides the facility to share a single mailbox among multiple users.

What is the use of MIME within message makeup?

MIME is an acronym for Multipurpose Internet Mail Extensions. MIME is not a mail transfer protocol. It defines the message information like format of the messages, attachments etc.

What is the structure of JavaMail API?

Java application uses JavaMail API to compose, send and receive emails. Java application uses the application-programming interface (JavaMail API) to send and receive mail messages. This part of the JavaMail API is protocol independent. JavaMail SPI (service provider interface) is a protocol specific part and used to plug in a provider of an e-mail service to the J2EE platform.

See more at: JavaMail API architecture.

Content Protection by DMCA.com
Please Share