JavaMail uses several licenses:
META-INF/LICENSE.txt in each jar file.You’ll find the text of the CDDL and GPLv2+CE licenses in the workspacein the filesLICENSE.txt andmail/src/main/resources/META-INF/LICENSE.txt.The specification license is in the workspace atmail/src/main/java/doc-files/speclicense.html.Don’t let the presence of these license files in the workspace confuseyou into thinking that they apply to all files in the workspace.
You should always read the license file included with every download,and read the license text included in every source file.