← Back to team overview

dhis2-devs team mailing list archive

Test Email in Email Settings is not Working.

 

Hi all,

I have setup the email settings as:

*Hostname: smtp@xxxxxxxxx <smtp@xxxxxxxxx>*
*Port: 587*
*username: ****@gmail.com <http://gmail.com>*
*password: ***(gmail password)*
*sender: ***@gmail.com <http://gmail.com>*


But test mail never receives to the user. Following error is  coming:

*Sending email to user: admin with email address:***@gmail.com
<http://gmail.com> to host: smtp.gmail.com:587 <http://smtp.gmail.com:587>
(EmailMessageSender.java [taskScheduler-8])*
*           * WARN  2016-12-06 17:51:15,540 Could not send email: Sending
the email to the following server failed : smtp.gmail.com:587
<http://smtp.gmail.com:587>, org.apache.commons.mail.EmailException:
Sending the email to the following server failed : smtp.gmail.com:587
<http://smtp.gmail.com:587>*


Has anyone used the Email Settings before?

Thanks & Regards,
Sourabh Bhardwaj

Follow ups