dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #16863
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6534: Using bcc for email notifications
------------------------------------------------------------
revno: 6534
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-04-10 15:31:40 +0200
message:
Using bcc for email notifications
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 2012-02-02 20:01:36 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/message/EmailMessageSender.java 2012-04-10 13:31:40 +0000
@@ -117,7 +117,7 @@
if ( emailNotification && user.getEmail() != null && !user.getEmail().trim().isEmpty() )
{
- email.addTo( user.getEmail() );
+ email.addBcc( user.getEmail() );
log.debug( "Sent email to user: " + user + " with email address: " + user.getEmail() );