Connecting to an SMTP email server that does not require authentication

Henry SimmsHenry Simms Administrator
edited May 29 in General discussion

Data Studio lets you configure an SMTP server connection, which can then be used to send email notifications when particular events occur.

Some SMTP servers do not require authentication: username and password details do not need to be provided. In this case, when you click the "Test SMTP Configuration" button after configuring your SMTP properties in Data Studio, the connection will fail with the following line in the server log:

SMTP connection attempt failed: 535 Authentication failed. Restarting authentication process.

To allow un-authenticated connections in Data Studio v1.x, we need to add a new setting into the serer.properties file, located in the Data Studio install root directory:

server.sendEmailAuthentication=false

After adding this line and restarting the Data Studio server, you should be able to connect to your SMTP server

Sign In or Register to comment.