eclipse-ee4j / eclipse-ee4j/angus-mail

mail.smtp.ssl.trust creates a new SocketFactory

Open
#65 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.