dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #33097
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16855: Email sender. Deprecation upgrade.
------------------------------------------------------------
revno: 16855
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-09-29 18:33:27 +0200
message:
Email sender. Deprecation upgrade.
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/message/EmailMessageSender.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/message/EmailMessageSender.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/message/EmailMessageSender.java 2014-09-24 10:25:11 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/message/EmailMessageSender.java 2014-09-29 16:33:27 +0000
@@ -162,7 +162,7 @@
email.setHostName( hostName );
email.setFrom( defaultIfEmpty( sender, FROM_ADDRESS ), FROM_NAME );
email.setSmtpPort( port );
- email.setTLS( tls );
+ email.setStartTLSEnabled( tls );
if ( username != null && password != null )
{