eclipse-ee4j / eclipse-ee4j/angus-mail
mail.smtp.ssl.trust creates a new SocketFactory
- Dominant language
- Java
- Stars
- 87
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
Hi.
The documentation of mail.smtp.ssl.trust said:
"If set, **and a socket factory hasn't been specified,** enables use of a [MailSSLSocketFactory](https://javaee.github.io/javamail/docs/api/com/sun/mail/util/MailSSLSocketFactory.html). If set to "*", all hosts are trusted. If set to a whitespace separated list of hosts, those hosts are trusted. Otherwise, trust depends on the certificate the server presents."
We set a own "mail.smtp.socketFactory" with a truststore and keystore but the MailSSLSocketFactory is created anyway if mail.smtp.ssl.trust is specified.
thx
original issue: https://github.com/jakartaee/mail-api/issues/609
Contributor guide
Assessment
This issue has not been assessed yet.