Академический Документы
Профессиональный Документы
Культура Документы
The JavaMail is an API that is used to compose, write and read electronic messages (emails).
The JavaMail API provides protocol-independent and platform-independent framework for
sending and receiving mails. For sending the email using JavaMail API, you need to load the two
jar files:
a. mail.jar
b. activation.jar
The mail.jar file contains the core API classes, while the pop3.jar and smtp.jar files contain the
provider implementations for the respective mail protocols.
The activation.jar file allows you to handle MIME (Multipurpose Internet Mail Extensions) types
accessible via binary data streams.
Working of program:
Note:
To use your own Gmail Id, change the following in the settings: