Explicitly mention Jakarta Mail 1.6 next to JavaMail

See gh-25855
This commit is contained in:
Juergen Hoeller 2020-11-17 14:42:41 +01:00
parent c9b27af64f
commit b56dbd2aa8
1 changed files with 3 additions and 2 deletions

View File

@ -4421,10 +4421,11 @@ This section describes how to send email with the Spring Framework.
The following JAR needs to be on the classpath of your application in order to use
the Spring Framework's email library:
* The https://eclipse-ee4j.github.io/mail/[JavaMail] library
* The https://eclipse-ee4j.github.io/mail/[JavaMail / Jakarta Mail 1.6] library
This library is freely available on the web -- for example, in Maven Central as
`com.sun.mail:jakarta.mail`.
`com.sun.mail:jakarta.mail`. Please make sure to use the latest 1.6.x version
rather than Jakarta Mail 2.0 (which comes with a different package namespace).
****
The Spring Framework provides a helpful utility library for sending email that shields