When using the tSendMail component I get an error: AuthenticationFailedException
This is while using 4 different SMTP options:
MailGun
Mandrill
Outlook.com
Google Apps (gmail)
I have followed all the instructions that I can find in these forums and followed the settings demonstrated to the letter but it has never worked properly.
I am able to telnet to these from my machine using the same SMTP/ports/passwords and send mail and send email using other code (.NET code, for instance).
I have Java 1.7 and Open Studio 5.4 for Data Integration.
What am I missing?
Additional error message details below:
Exception in component tSendMail_1
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)...
the solution is in the email setting , in you use gmail, you
go to the settings privacy -->app and site link --> uncheck allow app less secure
and you can send email.
sabrina can you help me in other my question regards rounding number in the tmap?
thanks
Hi,
Your configuration is wrong, check the parameters (smtp host, port,...)
I have a testing in Talend Open Studio for Data Integration 5.4.0, everything is OK with me.
See my screenshots
Best regards
Sabrina
I have the same problem. I didn't use Talend for some time and then mail worked fine. Now with exact same settings I can not send any mail. I am trying for days with my exchange and gmail servers and nothing. it's so frustrating! Is there any general issue? All working fine with .NET applications.
I have the same problem. I didn't use Talend for some time and then mail worked fine. Now with exact same settings I can not send any mail.
Did the tsendmail work successfully for you before? Did you make some change on it? More info about current situation will be preferred.
Best regards
Sabrina
When using the tSendMail component I get an error: AuthenticationFailedException
This is while using 4 different SMTP options:
MailGun Mandrill Outlook.com Google Apps (gmail)
I have followed all the instructions that I can find in these forums and followed the settings demonstrated to the letter but it has never worked properly.
I am able to telnet to these from my machine using the same SMTP/ports/passwords and send mail
I have Java 1.7 and Open Studio 5.6 for Data Integration.
What am I missing?
Additional error message details below:
Exception in component tSendMail_1 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)...
Starting job tsendmail_demo at 12:19 07/07/2015.
connecting to socket on port 3736
connected
Exception in component tSendMail_1
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 training.tsendmail_demo_0_1.tsendmail_demo.tSendMail_1Process(tsendmail_demo.java:734)
at training.tsendmail_demo_0_1.tsendmail_demo.tJava_1Process(tsendmail_demo.java:496)
at training.tsendmail_demo_0_1.tsendmail_demo.runJobInTOS(tsendmail_demo.java:1037)
at training.tsendmail_demo_0_1.tsendmail_demo.main(tsendmail_demo.java:849)
disconnected
Job tsendmail_demo ended at 12:19 07/07/2015.
Hi
sureshnamburi
,
Your network is OK with you?
Would you mind uploading your tSendMail component setting screenshot into forum so that we can address your issue quickly.
Hi
please help me .I got a below error
Exception in component tSendMail_1
javax.mail.MessagingException: Exception reading response;
nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:297)
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.shell_script_0_1.shell_script.tSendMail_1Process(shell_script.java:748)
at local_project.shell_script_0_1.shell_script.tJava_1Process(shell_script.java:510)
at local_project.shell_script_0_1.shell_script.runJobInTOS(shell_script.java:1070)
at local_project.shell_script_0_1.shell_script.main(shell_script.java:865)
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at sun.security.ssl.InputRecord.handleUnknownRecord(Unknown Source)
at sun.security.ssl.InputRecord.read(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
at sun.security.ssl.AppInputStream.read(Unknown Source)
at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440)
... 11 more