Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Ray0801
Creator
Creator

Getting authentication error despite correct credentials in tSendmail component?

Hi All,

I have a mail job scheduled in jenkins has been running properly for about 3 years,

recently we are having this issue where it randomly throws a authentication error on one day, and works fine on some other days with exactly same creds

I also tried with some other mail-ids,we are getting the same

authentication error.

Exception in component tSendMail_2 (xxxx_)

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 nprinting_to_talend.xxx_email_october_21_0_1.xxx_email_october_21.main(xxxx_email_october_21.java:3457)

Could this have something to do with the System where it is deployed or is it a talend issue.

Any Help will be appreciated.

We are using Talend Open Studio 7.0.1

Labels (2)
10 Replies
Anonymous
Not applicable

Hello,

Please try to perform a telnet test to validate connectivity to your mail server.

Use the telnet command to verify Mail server connectivity and credentials. Perform the test with the same credentials being used on the Job.

From a prompt, type:

telnet Server_address 110

user username@yourdomain.com

pass yoursecretpassword

Type the following command to present a numbered list of emails in the mailbox:

list

 

Type the following command to display email number 1:

retr 1

 

Exit the session by entering:

quit

 

Let us know if you are able to validate connectivity to your mail server.

Best regards

Sabrina