|
|
|
@ -4314,14 +4314,16 @@ 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://eclipse-ee4j.github.io/mail/[JavaMail / Jakarta Mail 1.6] library |
|
|
|
* The https://jakartaee.github.io/mail-api/[JavaMail / Jakarta Mail 1.6] 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 1.6.x version (which uses |
|
|
|
rather than Jakarta Mail 2.0 (which comes with a different package namespace). |
|
|
|
the `javax.mail` package namespace) rather than Jakarta Mail 2.0 (which uses the |
|
|
|
|
|
|
|
`jakarta.mail` package namespace). See the code in the `v1.x` branch of the |
|
|
|
|
|
|
|
https://github.com/jakartaee/mail-api/tree/v1.x[Jakarta Mail API repository]. |
|
|
|
**** |
|
|
|
**** |
|
|
|
|
|
|
|
|
|
|
|
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 |
|
|
|
|