Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
When running a job I have only recently started to encounter the following error on a tSendMail component:
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)
This was working 1 day and stopped the next (around the 27/12/2021), without any changes being made at all to the job.
The email is being sent by SMTP via an Office 365 account and the credentials have been confirmed as being correct.
STARTTLS Support is enabled for this component.
Has anybody experienced this before in conjunction with Office 365?
Many thanks
Hello,
Does this issue repro on studio or job server, TMC?
Could you please clarify in which Talend version/edition you are?
Best regards
Sabrina
Hi
I am using office 365 to send mails using tSendMail, I have never had this issue. The error indicates it is a wrong authentication (wrong username or password), go to check with IT team if they change something recently or check with other tool with the same credentials.
Regards
Shong
Hi Sabrina,
Thanks for the quick response.
The issue is in Talend Studio for Cloud Data Integration. The version is 7.3.1. The tSendMail module is mail-1.4.jar.
Best regards,
Ian
Hi Shong,
Thanks for the quick reply. I've confirmed that the credentials are correct and that there have been no changes to the account setup.
Best regards,
Ian
Hi Team,
Even we are getting this Error. Is there any recent update on this issue?
We are using Talend 7.1.1. We are able to send the mails manually from the outlook, the same thing is not working in Talend Studio.
Regards,
Venkat
Has your problem been solved? I have also encountered this problem. I have tried all the methods we said, but it has no effect.
And I have no problem using python.
If you solve it, I urgently hope you can share it with me, and I will be very grateful!
Hi,
https://community.talend.com/s/article/Issue-with-tSendMail-and-TLS-version-ElVmA?language=en_US
After following the above steps we are able to resolve the issue for one project where we are using the TMC. but for the other project the issue is still there even after we added the new jar and jvm param value.
Regards,
Venkat