dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #11970
Re: Test Email in Email Settings is not Working.
Hi,
first, did you enable TLS as well?
I followed the steps listed here: https://support.google.com/mail/answer/7126229?hl=en <https://support.google.com/mail/answer/7126229?hl=en>
This works fine for me. Is there any way you misspelled your email or password?
Seemed to work without enabling POP/IMAP in my gmail account as well, but if you can’t get it to work, you should try to enable it as well I guess.
Let me know how it goes.
——
Stian Sandvold
Software developer, DHIS 2
University of Oslo
http://www.dhis2.org
> On 6 Dec 2016, at 13:36, Sourabh Bhardwaj <bsourabh191@xxxxxxxxx> wrote:
>
> Hi all,
>
> I have setup the email settings as:
>
> Hostname: smtp@xxxxxxxxx <mailto: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
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
Follow ups
References