جاوا میل

کد و توضیحات

JavaMail

Code and Explanation


Some of the protocols supported in JavaMail API:

SMTP: Acronym for Simple Mail Transfer Protocol. It provides a mechanism to deliver email.
POP: Acronym for Post Office Protocol. POP is the mechanism most people on the Internet use to get their mail.
It defines support for a single mailbox for each user. RFC 1939 defines this protocol.
MIME: Acronym for Multipurpose Internet Mail Extensions. . 
It is not a mail transfer protocol. Instead, it defines the content of what is transferred: the format of the messages, attachments, and so on. 

Javamail API

As a user of the JavaMail API, you usually don't need to worry about these formats.
However, these formats do exist and are used by your programs.