tSendMail Client was not authenticated

Employee

tSendMail Client was not authenticated

 

[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

Eight Stars

Re: tSendMail Client was not authenticated

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

Employee

Re: tSendMail Client was not authenticated

Then what is the point of having authentication option in place when we have to allow "anonymous"?

Eight Stars

Re: tSendMail Client was not authenticated

Hello,

 

Check the configuration you are using with your Exchange admin. 

 

Regards

lojdr

Employee

Re: tSendMail Client was not authenticated

Can you be more specific, what configuration need to ask from Exchange side ?

Eight Stars

Re: tSendMail Client was not authenticated

Capture1.JPG

 

 

 

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? 

 

 

 

 

Employee

Re: tSendMail Client was not authenticated

Using all those information, we can send email via python script without any issues.. same setting in talend job throws the error..

Eight Stars

Re: tSendMail Client was not authenticated

From the same machine where the Talend is installed?
Employee

Re: tSendMail Client was not authenticated

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 ?

Eight Stars

Re: tSendMail Client was not authenticated

Not sure if this is possible with this component. It looks that only Basic authentication is possible.