mooli tayer has uploaded a new change for review.

Change subject: tools: fix notifier's support of smtp over ssl
......................................................................

tools: fix notifier's support of smtp over ssl

Change-Id: Ifecec2d5972610e6d8fbb4435c1c29c4ad6b32cd
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1008975
Signed-off-by: Mooli Tayer <[email protected]>
---
M 
backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/utils/sender/mail/JavaMailSender.java
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/90/19790/1

diff --git 
a/backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/utils/sender/mail/JavaMailSender.java
 
b/backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/utils/sender/mail/JavaMailSender.java
index e283e32..a0c2aa1 100644
--- 
a/backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/utils/sender/mail/JavaMailSender.java
+++ 
b/backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/utils/sender/mail/JavaMailSender.java
@@ -39,8 +39,7 @@
      */
     public JavaMailSender(NotificationProperties aMailProps) {
         Properties mailSessionProps = setCommonProperties(aMailProps);
-
-        mailSessionProps.put("mail.smtp.host", 
aMailProps.getProperty(NotificationProperties.MAIL_SERVER));
+        mailSessionProps.put("mail.host", 
aMailProps.getProperty(NotificationProperties.MAIL_SERVER));
         // enable SSL
         if (aMailProps.getBoolean(NotificationProperties.MAIL_ENABLE_SSL, 
false)) {
             mailSessionProps.put("mail.transport.protocol", "smtps");


-- 
To view, visit http://gerrit.ovirt.org/19790
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifecec2d5972610e6d8fbb4435c1c29c4ad6b32cd
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: mooli tayer <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to