Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have been trying to export the data from Excel and send through email.
But am getting the below error while executing the job.
[statistics] connecting to socket on port 3720
[statistics] connected
Exception in component tSendMail_1 (Name)
javax.mail.AuthenticationFailedException: failed to connect
at javax.mail.Service.connect(Service.java:322)
at javax.mail.Service.connect(Service.java:172)
at javax.mail.Service.connect(Service.java:121)
at javax.mail.Transport.send0(Transport.java:190)
at javax.mail.Transport.send(Transport.java:120)
at local_project.Name_2_0.Name.tDBInput_2Process(Name.java:1180)
at local_project.Name_2_0.Name.runJobInTOS(Name.java:1572)
at local_project.Name_2_0.Name.main(Name.java:1423)
[statistics] disconnected
Job Name ended at 23:58 10/08/2018. [exit code=1]
Note : I would need to provide the OTP each and every time I login to gmail. Does this has any significance over here?
Your help would be appreciated !!
Thanks !!
Hi,
Could you please disable the secondary OTP authentication and try to send the email?
Warm Regards,
Nikhil Thampi
Thanks Nikhil !!
I couldn't able to do that as you said. Please find the screenshot below. Please suggest If any other approach for this.
Hi,
Could you please create another email id and try to send the mail where you need to turn off the two step authentication?
Warm Regards,
Nikhil Thampi
Hi,
I have tried using another email with 2nd step verification turned off. But I couldn't able to send mail in this step as well.