But test mail never receives to the user. Following error is coming:
Sending email to user: admin with email address:***@gmail.com to host: 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, org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:587_
But test mail never receives to the user. Following error is coming:
Sending email to user: admin with email address:***@gmail.com to host: 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, org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:587_
Also enabling the ‘less secure apps to access your account’ option in the Gmail account configured in the DHIS 2.
If this is the case, then when you log into the same account, you will find a blocked sign-in attempt notification email with the option for allowing the access.
But test mail never receives to the user. Following error is coming:
Sending email to user: admin with email address:***@gmail.com to host: 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, org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:587_
Also enabling the ‘less secure apps to access your account’ option in the Gmail account configured in the DHIS 2.
If this is the case, then when you log into the same account, you will find a blocked sign-in attempt notification email with the option for allowing the access.
But test mail never receives to the user. Following error is coming:
Sending email to user: admin with email address:***@gmail.com to host: 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, org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:587_