The core class of JavaMail API is available in Java. mail. activation and Java. mail. The JavaMail API is also used in different events like registration of the user to send notification to users mail id and while forgot password to send a message to users mail id. There are some protocols which support the JavaMail API, they are as follows.
- SMTP stands for simple mail transfer protocol.
- JavaMail API protocol is a platform independent framework.
- To receive an email POP protocol will be used.