Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tSendMail AuthenticationFailedException

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)...
Labels (3)
36 Replies
Anonymous
Not applicable
Author

Hi erryco,
Would you mind sharing your solution with us?
Best regards
Sabrina
Anonymous
Not applicable
Author

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 
Anonymous
Not applicable
Author

Hi erryco,
Thanks for sharing your solution with us. Are you referring to the forum: https://community.talend.com/t5/Design-and-Development/how-to-rounding-number-in-the-tmap/td-p/90253.
Here is a response for your issue. Could you please have a look at it?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
Off the topic a bit, but my search for Mandrill with Talend lands me in this thread. Just wondering if there is any doc regarding how to setup/use tSendMail with Mandrill?
Thx, 
Anonymous
Not applicable
Author

Hi clo-talend,
So far, there is no doc regarding how to setup/use tSendMail with Mandrill.
Here is component reference about:TalendHelpCenter:tSendMail
Best regards
Sabrina
Anonymous
Not applicable
Author

I am getting the same error as nasia. Has there been any update on this? 
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)
I am using office365 with these stmp settings:
Server name: smtp.office365.com
Port: 587
Encryption method: TLS
Anonymous
Not applicable
Author

Hi  rsimon1,
Are your username and password correct for you? Can you successfully login your  office365 with your a uthentication? Is your network Ok with you?
Best regards
Sabrina
Anonymous
Not applicable
Author

Yes. We use this for another process that has been running daily (through code).
Anonymous
Not applicable
Author

 
Hi rsimon1,
On which build version you got this issue? What's your JDK? How about your password? any backslash ?
Best regards
Sabrina
Anonymous
Not applicable
Author

Build version - V6.1.1
JDK - 1.8.0_73
My password does not have any backslashes.