Hi Chanika, I have already set it to true.
@ Dilusha I tried as you mentioned and it works for me. I could receive the mail now. Thank you. On Wed, Dec 13, 2017 at 12:18 PM, Chanika Geeganage <[email protected]> wrote: > Since this is an authentication failure, this might be because of gmail > account protection. To avoid that, you have to make your gmail account less > secure. You can do that from following link > > https://www.google.com/settings/security/lesssecureapps > > On Wed, Dec 13, 2017 at 12:11 PM, Piriya Sivalingam <[email protected]> > wrote: > >> Hi, >> >> I am trying to configure email notification scenario in WSO2 DSS. I have >> generated a data service in DSS for exposing data in a database, and when a >> request to that data service triggers an event the subscribers to that >> event should receive an email notification. The use case is when I invoke >> the data service the data should be added to the database and at the same >> time the respective subscribers should receive a mail notification. >> >> The steps I followed are: >> >> - I configured the mailto transport sender in axis2_Client.xml file >> located in <DSS_HOME>/repository/conf/axis2 folder. >> - In the insert query I added an event for identifying an >> event_trigger used in the data service. >> - I configured the Xpath accordingly for the response message, and >> when this evaluation becomes true the event will be triggered. >> - I configured the Event sink URL as well. >> >> When I invoke the service I found the following exception logged in the >> console: >> >> ERROR {org.apache.axis2.transport.mail.MailTransportSender} - Error >> creating mail message or sending it to the configured server { >> org.apache.axis2.transport.mail.MailTransportSender} >> javax.mail.AuthenticationFailedException >> >> Can you please suggest whether there is anything wrong with my >> configuration? >> The document I referred is [1]. >> >> [1] https://docs.wso2.com/display/DSS351/Receiving+Notificat >> ions+from+Data+Services >> >> Thanks, >> Piriya >> >> Regards, >> >> *Piriya Sivalingam* >> >> *Software Engineer - Support Team* >> >> *WSO2* >> *Mobile : +94 77 8462039 <+94%2077%20846%202039>* >> >> [image: http://wso2.com/signature] <http://wso2.com/signature> >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Best Regards.. > > Chanika Geeganage > +94773522586 <+94%2077%20352%202586> > WSO2, Inc.; http://wso2.com > > -- Regards, *Piriya Sivalingam* *Software Engineer - Support Team* *WSO2* *Mobile : +94 77 8462039* [image: http://wso2.com/signature] <http://wso2.com/signature>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
