
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Exception in component tSendMail_1 (mail) javax.mail.AuthenticationFailedException
Hi,
I have been trying to send an email using outlook mail account. My user name and password provided was correct. And I have provided smtp host as
smtp.office365.com and port number as 587 with starttls support. Yet I could not send an email and throwing Exception as,[statistics] connecting to socket on port 3378
[statistics] connected
Exception in component tSendMail_1 (mail)
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 test.mail_0_1.mail.tSendMail_1Process(mail.java:457)
at test.mail_0_1.mail.runJobInTOS(mail.java:1139)
at test.mail_0_1.mail.main(mail.java:989)
[statistics] disconnected
While connecting to gmail account with smtp host as smtp.gmail.com and port number as 587 was working perfectly.
Could anyone please help me in this issue? Or please provide me with smtp host and password to send mail irrespective of outlook or gmail. since it a company mail id I cant change any settings in my outlook.
- « Previous Replies
-
- 1
- 2
- Next Replies »

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Are you able to telnet to your it from your machine using the same SMTP/ports/passwords and send mail? Does it work without using talend tool?
Best regards
Sabrina

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the response Sabrina!
I don't use telnet!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I read your copy/paste correctly, the connection is appearing to be connecting to a socket on port 3378 and not to port 587. Can you recheck on what is going on in your job please.
Good Luck
Ravi

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have provided the port number as 587.
Thanks,
Shalini

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Does it work without using talend tool?
Best regards
Sabrina

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Are your username and password correct for the mail server connection?
Best regards
Sabrina

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes, It is correct

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I haven't tried using outlook

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
An AuthenticationFailedException means your username/password combination is not being accepted by the server. Any update from your end? Is it working well from mail server?
Best regards
Sabrina

- « Previous Replies
-
- 1
- 2
- Next Replies »