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 or gmail bug?

Hi,
when i used tsendmail in an old project it worked perfectly! 1 months later i try to use it again (i don't change anything) and i have following errors!
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 don't change anything in my gmail account, my config :
To >client@gmail.com (it's an example)
From> myaccount@gmail.com
SMTP>smtp.gmail.com
port SMTP>25
support STARTTLS> checked
support de SSL> unchecked(when checked more error )
user> myaccount@gmail.com
password>myPassword
user> myaccount@gmail.com
Best regards,
G47
Labels (3)
9 Replies
Anonymous
Not applicable
Author

Hi,
Please use outgoing port: 465(SMTP: 465) then select SSL to see if it is OK with you.
Best regards
Sabrina
0683p000009MEjv.png
Anonymous
Not applicable
Author

Hi,
Thank's for the answer, i try but i have the same error. I'v try to edit my firewall, etc,  but the error again.
My last hope is to rollback to java6
Best regards
G47
Anonymous
Not applicable
Author

Hi,
What's your current JDK? JAVA7? Was your job working well before?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi, my current jdk is 1.7 and actually i try to rollback to 1.6.
My job working well before (i use jdk 1.6) and i upgrade to 1.7, all my job work except the mail part.
I think it's the upgrade the problem.
Best regards
G47
Anonymous
Not applicable
Author

Hi,
Have you tried other mails? OutLooK?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
No.... but gmail has an problem?
Ok, i'll try with another mail
Best regards,
G47
Anonymous
Not applicable
Author

Hi,
I made a testing that sending an email to gmail by tsendmail on Window 7, JDK 7. Everything is OK. Can you use your authentication (username and password) to login your gmail without using Talend tool? How about your password? any backslash?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
Now i'm over jdk1.6.0_14, yes i can access to my gmail account via browser, my password does'nt contains any backslash.
I saw a post with the same problem, like me at https://community.talend.com/t5/Design-and-Development/resolved-tSendMail-AuthenticationFailedExcept...
Thank's for helping me, and sorry my english is very bad
Best regards,
G47
Anonymous
Not applicable
Author

Hi,
It work's fine with outlook, but what the problem with gmail?
Best regards,
G47