Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
[statistics] connecting to socket on port 3484
[statistics] connected
Exception in component tSendMail_1 (DBFileParserLight)
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.1 Client was not authenticated
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
at javax.mail.Transport.send0(Transport.java:169)
at javax.mail.Transport.send(Transport.java:98)
at ingestion_pipeline_dev2.dbfileparserlight_0_2.DBFileParserLight.tSendMail_1Process(DBFileParserLight.java:979)
at ingestion_pipeline_dev2.dbfileparserlight_0_2.DBFileParserLight.runJobInTOS(DBFileParserLight.java:4251)
at ingestion_pipeline_dev2.dbfileparserlight_0_2.DBFileParserLight.main(DBFileParserLight.java:3958)
[FATAL]: ingestion_pipeline_dev2.dbfileparserlight_0_2.DBFileParserLight - tSendMail_1 530 5.7.1 Client was not authenticated
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.1 Client was not authenticated
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
at javax.mail.Transport.send0(Transport.java:169)
at javax.mail.Transport.send(Transport.java:98)
at ingestion_pipeline_dev2.dbfileparserlight_0_2.DBFileParserLight.tSendMail_1Process(DBFileParserLight.java:979)
at ingestion_pipeline_dev2.dbfileparserlight_0_2.DBFileParserLight.runJobInTOS(DBFileParserLight.java:4251)
at ingestion_pipeline_dev2.dbfileparserlight_0_2.DBFileParserLight.main(DBFileParserLight.java:3958)
[statistics] disconnected
Hello sjain,
You need to allow anonymous users to use the Exchange server as SMTP server. See how to do it here:
https://www.sonicwall.com/en-us/support/knowledge-base/170504828576336
Regards
Ondrej
Then what is the point of having authentication option in place when we have to allow "anonymous"?
Hello,
Check the configuration you are using with your Exchange admin.
Regards
lojdr
Can you be more specific, what configuration need to ask from Exchange side ?
All the information you see above.
Then try to send an email via PowerShell or Bash (any command line environment you have) from the same computer using the information from the Exchange team.
Do you see the same error?
Using all those information, we can send email via python script without any issues.. same setting in talend job throws the error..
Yes, see attached screenshot of error talend job giving & python script with same SMTP is working fine.
Note: SMTP require NTLM authentication, not sure our component support this or not ?
Not sure if this is possible with this component. It looks that only Basic authentication is possible.