eclipse-ee4j / angus-mail

Angus Mail
https://eclipse-ee4j.github.io/angus-mail
Other
53 stars 16 forks source link

mail.smtp.ssl.trust creates a new SocketFactory #65

Open lukasj opened 1 year ago

lukasj commented 1 year ago

Hi. The documentation of mail.smtp.ssl.trust said: "If set, and a socket factory hasn't been specified, enables use of a MailSSLSocketFactory. 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

lukasj commented 1 year ago

related change: https://github.com/jakartaee/mail-api/issues/375