[resolved] tSendMail AuthenticationFailedException

One Star

Re: [resolved] tSendMail AuthenticationFailedException

I am using amazon smtp username and password and I am facing the same issue.
javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:264)
at javax.mail.Service.connect(Service.java:134)
at AmazonSESSampleTemp.main(AmazonSESSampleTemp.java:59)
The email was not sent.
Error message: null
One Star

Re: [resolved] tSendMail AuthenticationFailedException

Hi,
I am getting the same error. Has there been any update on this? 

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 local_project.mail_0_1.mail.tSendMail_1Process(mail.java:590)
at local_project.mail_0_1.mail.runJobInTOS(mail.java:4789)
at local_project.mail_0_1.mail.main(mail.java:4639)
And i am not finding these seting (settings privacy -->app and site link -->  uncheck allow app less secure) in my gmail acount.
please give me proper solution.
One Star

Re: [resolved] tSendMail AuthenticationFailedException

I just tested this with a personal gmail account using TOS 6.2.1. It denied me access, then sent me this email. Once I removed the restriction on the "less secure app" (Talend!!), it worked.
"
Google just blocked someone from signing into your Google Account <<email address>> from an app that may put your account at risk.
Less secure app
Friday, January 20, 2017 1:05 PM (Pacific Standard Time)
Ventura, CA, USA*
Don't recognize this activity?
If you didn't recently receive an error while trying to access a Google service, like Gmail, from a non-Google application, someone may have your password.
SECURE YOUR ACCOUNT
Are you the one who tried signing in?
Google will continue to block sign-in attempts from the app you're using because it has known security problems or is out of date. You can continue to use this app by allowing access to less secure apps, but this may leave your account vulnerable.
Best,
The Google Accounts team
"
Four Stars

Re: [resolved] tSendMail AuthenticationFailedException

Hi,

I have a problem with " Exception in component tSendMail_1
javax.mail.AuthenticationFailedException "

And i see your answer, but i didn't find the " settings privacy -->app and site link -->  uncheck allow app less secure  "

Can you help me please, and sorry for my english, I am from Madagascar

Thank you for your help

 

Four Stars

Re: [resolved] tSendMail AuthenticationFailedException

hi erryco, 

i have a problem with tsendMail AuthentificationFaildException and i search the "settings privacy -->app and site link -->  uncheck allow app less secure " that you did. but i don't see the settings privacy.

Can you help me please?

What’s New for Talend Spring ’19

Join us live for a sneak peek!

Sign up now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch