From f8a58f2bc4bdec121a3fce5c5012e9a370a678fb Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sat, 17 Dec 2022 14:21:58 +0100 Subject: [PATCH] Update Jakarta Mail info in ref docs Closes gh-29707 --- .../src/docs/asciidoc/integration/email.adoc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/framework-docs/src/docs/asciidoc/integration/email.adoc b/framework-docs/src/docs/asciidoc/integration/email.adoc index bc08542b91..fd82a39feb 100644 --- a/framework-docs/src/docs/asciidoc/integration/email.adoc +++ b/framework-docs/src/docs/asciidoc/integration/email.adoc @@ -5,14 +5,15 @@ This section describes how to send email with the Spring Framework. .Library dependencies **** -The following JAR needs to be on the classpath of your application in order to use -the Spring Framework's email library: +The following JAR needs to be on the classpath of your application in order to use the +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 -`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). +`com.sun.mail:jakarta.mail`. Please make sure to use the latest 2.x version (which uses +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