I'll give that a try. Thanks
Ryan

From: Bob Jolliffe [mailto:[email protected]]
Sent: vendredi 25 juillet 2014 13:29
To: WILLIAMS, Ryan O'Neil
Cc: [email protected]
Subject: Re: [Dhis2-users] Emails not being sent

Yes you are right.  I see lars added it on 20 May.

Though I see that the change was backported to 2.15 in rev 15054.  If you 
upgrade your war to the latest build of 2.15 (available from 
https://apps.dhis2.org/ci/job/dhis-2.15/lastSuccessfulBuild/artifact/dhis-2/dhis-web/dhis-web-portal/target/dhis.war)
 you will find that the email from_address setting has been added.  It might be 
your other problem is addressed as well.

Regards
Bob

On 25 July 2014 09:56, WILLIAMS, Ryan O'Neil 
<[email protected]<mailto:[email protected]>> wrote:
I think that is as of 2.16. In 2.15 I don't see it.

From: Bob Jolliffe [mailto:[email protected]<mailto:[email protected]>]
Sent: jeudi 24 juillet 2014 15:49

To: WILLIAMS, Ryan O'Neil
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [Dhis2-users] Emails not being sent

Sorry Ryan, just looking again at the code, I am not right about FROM_ADDRESS 
being hard coded.  This is in fact a system setting - in email settings dialog.

On 24 July 2014 14:04, WILLIAMS, Ryan O'Neil 
<[email protected]<mailto:[email protected]>> wrote:
Hi Bob,

Thanks for providing the FROM_ADDRESS.

I will ask IT check the traffic information between the servers.
I sent an email through the server from my computer via telnet using the 
FROM_ADDRESS:[email protected]<mailto:[email protected]> and it went through 
fine.

ryan

From: Bob Jolliffe [mailto:[email protected]<mailto:[email protected]>]
Sent: jeudi 24 juillet 2014 12:44
To: WILLIAMS, Ryan O'Neil
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [Dhis2-users] Emails not being sent

Hi Ryan

>From what I understand of the source code, if the message sending failed there 
>should have been a warning entry in your log saying "Could not send email: ... 
><reason>".  If you are not seeing that then it is strange and not consistent 
>with the documentation of the apache commons email library which is being used.

Can you perchance verify with ethereal or tcpdump that there is no traffic 
between dhis2 and the email server?

The FROM_ADDRESS is currently hardwired to 
"[email protected]<mailto:[email protected]>".  Hope its not being clobbered by 
a spam filter on your email server.

Bob

On 24 July 2014 10:49, WILLIAMS, Ryan O'Neil 
<[email protected]<mailto:[email protected]>> wrote:
Dear all,

We are running  version 2.15 instance of dhis2 and we are having trouble 
getting the email functionality to work.

The email server address and port have been provided using the email settings 
UI.

We have tried to use the recover password  and send message functionality to no 
avail. Each time the functions are executed, the following entries can be found 
in the catalina.out log file respectively:

* ... Recovery message sent for user: xxx

OR

* ...  Sending email to user: User{surname='xxx', ...firstName= ... 
(EmailMessageSender.java [SimpleAsyncTaskExecutor-664])
* ...Email sent using host: emailserver with TLS: false 
(EmailMessageSender.java [SimpleAsyncTaskExecutor-664])

No entries can be found on the email server concerning these emails. No errors 
concerning emails can be found in the catalina log file.
Other applications on the same server using the same settings can successfully 
send emails.

Any ideas about what the problem could be or how we can debug this in more 
detail?
Also, I don't see a way to configure the FROM_ADDRESS, is this possible? What 
is the default sender?

cheers
Ryan


_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : 
[email protected]<mailto:[email protected]>
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp



_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to