Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between javax.mail and javax.mail-api

What is the difference between javax.mail and javax.mail-api?

I found those from maven repository.

When should each be used?

The software package comes with javax.mail-api but I could not get it work, so I downloaded javax.mail.

like image 790
linquize Avatar asked Nov 05 '13 06:11

linquize


Video Answer


1 Answers

javax.mail-api contains only interfaces, and javax.mail contains implementation.

like image 144
Sergey Morozov Avatar answered Oct 22 '22 08:10

Sergey Morozov