Update Jakarta Mail info in ref docs

Closes gh-29707
This commit is contained in:
Sam Brannen 2022-12-17 14:21:58 +01:00
parent f6e1fb3150
commit f8a58f2bc4
1 changed files with 6 additions and 5 deletions

View File

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