You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2018/04/28 14:23:30 UTC

[openmeetings] branch master updated: [OPENMEETINGS-1880] mail sending via TLS server is fixed

This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new 1fb209e  [OPENMEETINGS-1880] mail sending via TLS server is fixed
1fb209e is described below

commit 1fb209e95f8224d2c6f98b67a1bc4a9fdf891a6b
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Sat Apr 28 21:22:19 2018 +0700

    [OPENMEETINGS-1880] mail sending via TLS server is fixed
---
 .../src/main/java/org/apache/openmeetings/core/mail/MailHandler.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/openmeetings-core/src/main/java/org/apache/openmeetings/core/mail/MailHandler.java b/openmeetings-core/src/main/java/org/apache/openmeetings/core/mail/MailHandler.java
index fcea9ff..04c5d0c 100644
--- a/openmeetings-core/src/main/java/org/apache/openmeetings/core/mail/MailHandler.java
+++ b/openmeetings-core/src/main/java/org/apache/openmeetings/core/mail/MailHandler.java
@@ -177,6 +177,7 @@ public class MailHandler {
 		props.put("mail.smtp.host", smtpServer);
 		props.put("mail.smtp.port", smtpPort);
 		if (mailTls) {
+			props.put("mail.smtp.ssl.trust", smtpServer);
 			props.put("mail.smtp.starttls.enable", "true");
 		}
 		props.put("mail.smtp.connectiontimeout", smtpConnectionTimeOut);

-- 
To stop receiving notification emails like this one, please contact
solomax@apache.org.