Re: [Dev] [IS] Password recovery IS 5.3.0

2017-05-04 Thread Isura Karunaratne
Have you tried this [1]? If so, check whether two-factor authentication is
enabled for your gmail account.

[1] https://support.google.com/accounts/answer/6010255?hl=en

Thanks
Isura.

On Thu, May 4, 2017 at 4:20 PM, Sadun Samintha  wrote:

> I  still get this error even though  turning on access to less secure apps.
>
> On Wed, Mar 1, 2017 at 3:54 PM, Danushka Fernando 
> wrote:
> > Found out it was blocked from gmail. By turning on access to less secure
> > apps I made it work. Sorry for the noise guys.
> >
> > Thanks & Regards
> > Danushka Fernando
> > Senior Software Engineer
> > WSO2 inc. http://wso2.com/
> > Mobile : +94716332729
> >
> > On Wed, Mar 1, 2017 at 3:50 PM, Danushka Fernando 
> > wrote:
> >>
> >> Hi All
> >> I tried to setup password reset using notification for IS 5.3.0
> dashboard.
> >> I followed [1]. When its trying to send the mail out I am seeing the
> >> following exception in server logs and mail is not sent. Any thoughts
> would
> >> be appreciated.
> >>
> >> [2017-03-01 15:44:26,235] ERROR
> >> {org.wso2.carbon.event.output.adapter.email.EmailEventAdapter} -  Event
> >> dropped at Output Adapter 'EmailPublisher' for tenant id '-1234', Error
> in
> >> message format, null
> >> javax.mail.AuthenticationFailedException
> >> at javax.mail.Service.connect(Service.java:306)
> >> at javax.mail.Service.connect(Service.java:156)
> >> at javax.mail.Service.connect(Service.java:105)
> >> at javax.mail.Transport.send0(Transport.java:168)
> >> at javax.mail.Transport.send(Transport.java:98)
> >> at
> >> org.wso2.carbon.event.output.adapter.email.
> EmailEventAdapter$EmailSender.run(EmailEventAdapter.java:306)
> >> at java.util.concurrent.Executors$RunnableAdapter.
> call(Executors.java:511)
> >> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> >> at
> >> java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1142)
> >> at
> >> java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
> >> at java.lang.Thread.run(Thread.java:745)
> >>
> >>
> >> [1]
> >> https://docs.wso2.com/display/IS530/Password+Recovery#PasswordRecovery-
> Recoveryusingnotifications
> >> Thanks & Regards
> >> Danushka Fernando
> >> Senior Software Engineer
> >> WSO2 inc. http://wso2.com/
> >> Mobile : +94716332729
> >
> >
> >
> > ___
> > Dev mailing list
> > Dev@wso2.org
> > http://wso2.org/cgi-bin/mailman/listinfo/dev
> >
>



-- 

*Isura Dilhara Karunaratne*
Senior Software Engineer | WSO2
Email: is...@wso2.com
Mob : +94 772 254 810
Blog : http://isurad.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Password recovery IS 5.3.0

2017-05-04 Thread Sadun Samintha
I  still get this error even though  turning on access to less secure apps.

On Wed, Mar 1, 2017 at 3:54 PM, Danushka Fernando  wrote:
> Found out it was blocked from gmail. By turning on access to less secure
> apps I made it work. Sorry for the noise guys.
>
> Thanks & Regards
> Danushka Fernando
> Senior Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Wed, Mar 1, 2017 at 3:50 PM, Danushka Fernando 
> wrote:
>>
>> Hi All
>> I tried to setup password reset using notification for IS 5.3.0 dashboard.
>> I followed [1]. When its trying to send the mail out I am seeing the
>> following exception in server logs and mail is not sent. Any thoughts would
>> be appreciated.
>>
>> [2017-03-01 15:44:26,235] ERROR
>> {org.wso2.carbon.event.output.adapter.email.EmailEventAdapter} -  Event
>> dropped at Output Adapter 'EmailPublisher' for tenant id '-1234', Error in
>> message format, null
>> javax.mail.AuthenticationFailedException
>> at javax.mail.Service.connect(Service.java:306)
>> at javax.mail.Service.connect(Service.java:156)
>> at javax.mail.Service.connect(Service.java:105)
>> at javax.mail.Transport.send0(Transport.java:168)
>> at javax.mail.Transport.send(Transport.java:98)
>> at
>> org.wso2.carbon.event.output.adapter.email.EmailEventAdapter$EmailSender.run(EmailEventAdapter.java:306)
>> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>> at java.lang.Thread.run(Thread.java:745)
>>
>>
>> [1]
>> https://docs.wso2.com/display/IS530/Password+Recovery#PasswordRecovery-Recoveryusingnotifications
>> Thanks & Regards
>> Danushka Fernando
>> Senior Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Password recovery IS 5.3.0

2017-03-01 Thread Danushka Fernando
Found out it was blocked from gmail. By turning on access to less secure
apps I made it work. Sorry for the noise guys.

Thanks & Regards
Danushka Fernando
Senior Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Wed, Mar 1, 2017 at 3:50 PM, Danushka Fernando 
wrote:

> Hi All
> I tried to setup password reset using notification for IS 5.3.0 dashboard.
> I followed [1]. When its trying to send the mail out I am seeing the
> following exception in server logs and mail is not sent. Any thoughts would
> be appreciated.
>
> [2017-03-01 15:44:26,235] ERROR {org.wso2.carbon.event.output.
> adapter.email.EmailEventAdapter} -  Event dropped at Output Adapter
> 'EmailPublisher' for tenant id '-1234', Error in message format, null
> javax.mail.AuthenticationFailedException
> at javax.mail.Service.connect(Service.java:306)
> at javax.mail.Service.connect(Service.java:156)
> at javax.mail.Service.connect(Service.java:105)
> at javax.mail.Transport.send0(Transport.java:168)
> at javax.mail.Transport.send(Transport.java:98)
> at org.wso2.carbon.event.output.adapter.email.
> EmailEventAdapter$EmailSender.run(EmailEventAdapter.java:306)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
>
>
> [1] https://docs.wso2.com/display/IS530/Password+
> Recovery#PasswordRecovery-Recoveryusingnotifications
> Thanks & Regards
> Danushka Fernando
> Senior Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729 <+94%2071%20633%202729>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS] Password recovery IS 5.3.0

2017-03-01 Thread Danushka Fernando
Hi All
I tried to setup password reset using notification for IS 5.3.0 dashboard.
I followed [1]. When its trying to send the mail out I am seeing the
following exception in server logs and mail is not sent. Any thoughts would
be appreciated.

[2017-03-01 15:44:26,235] ERROR
{org.wso2.carbon.event.output.adapter.email.EmailEventAdapter} -  Event
dropped at Output Adapter 'EmailPublisher' for tenant id '-1234', Error in
message format, null
javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:306)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at
org.wso2.carbon.event.output.adapter.email.EmailEventAdapter$EmailSender.run(EmailEventAdapter.java:306)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)


[1]
https://docs.wso2.com/display/IS530/Password+Recovery#PasswordRecovery-Recoveryusingnotifications
Thanks & Regards
Danushka Fernando
Senior Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev