Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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

Labels (1)
10 Replies
lojdr
Creator II
Creator II

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

Anonymous
Not applicable
Author

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

lojdr
Creator II
Creator II

Hello,

 

Check the configuration you are using with your Exchange admin. 

 

Regards

lojdr

Anonymous
Not applicable
Author

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

lojdr
Creator II
Creator II

0683p000009LsI4.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? 

 

 

 

 

Anonymous
Not applicable
Author

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

lojdr
Creator II
Creator II

From the same machine where the Talend is installed?
Anonymous
Not applicable
Author

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 ?


Screen Shot 2018-01-18 at 1.57.38 PM.png
Screen Shot 2018-01-18 at 1.57.50 PM.png
smtp_output.txt
test_ntlm.txt
lojdr
Creator II
Creator II

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