Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
The smtp server is smtp.office365.com
Port is 587 (Tried port 25 also - did not work)
Hi Sabrina,
I have a similar problem to this. My environment is Talend 7.2.1 / OpenJDK (Zulu 😎 on a Windows 2012 platform.
Settings used:
address: smtp.office365.com
port: 587
STARTTLS = True
I get javax.mail.AuthenticationFailedException
If I change to port 25 and turn off STARTTLS I get:
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM
I have Need authentication checked and user@company.com/password supplied in the appropriate fields.
Any help would be greatly appreciated.
Cheers,
Brad
Hello siddharthk ,
Check if you can get any response from TELNET Commands to confirm if your SMTP Port and Host are correct and if it has permissions to send and receive emails.
TELNET will help you to identify if the issue is with Talend Job or Company Permissions.
In case if you need help with TELNET Commands check below commands
Open Command Prompt with Admin access
telnet <SMTP HOST> <SMTP PORT> HELO <SMTP HOST> mail from: Talendjobtest@testjob.com rcpt to:<CompanyEmailId> data Subject: My Telnet Test Email Hello, This is an email sent by using the telnet command. Your friend, Me .
Press Enter after above dot. And check your inbox if you received the email.