One Star G47
One Star

[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
9 REPLIES
Moderator

Re: [resolved] tSendMail or gmail bug?

Hi,
Please use outgoing port: 465(SMTP: 465) then select SSL to see if it is OK with you.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star G47
One Star

Re: [resolved] tSendMail or gmail bug?

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
Moderator

Re: [resolved] tSendMail or gmail bug?

Hi,
What's your current JDK? JAVA7? Was your job working well before?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star G47
One Star

Re: [resolved] tSendMail or gmail bug?

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
Moderator

Re: [resolved] tSendMail or gmail bug?

Hi,
Have you tried other mails? OutLooK?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star G47
One Star

Re: [resolved] tSendMail or gmail bug?

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

Re: [resolved] tSendMail or gmail bug?

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
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star G47
One Star

Re: [resolved] tSendMail or gmail bug?

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 http://www.talendforge.org/forum/viewtopic.php?id=33003
Thank's for helping me, and sorry my english is very bad
Best regards,
G47
One Star G47
One Star

Re: [resolved] tSendMail or gmail bug?

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