I did see this, but I don't see how it would apply in our case. Our server is hosted on-prem and the emails are send to email addresses internally using our Exchange server. I need a way to troubleshoot the Tableau Server's email process.
I also tested from the server the following PS script to ensure things work as I would expect them to. The SMTP server, port, and credentials in the test are how my server are configured.
$smtp = New-Object System.Net.Mail.SmtpClient($SMTPServer, $SMTPPort);
$smtp.Credentials = New-Object System.Net.NetworkCredential($Username, $Password);
$smtp.Send($From, $To, $subject, $body);
4 of 4 people found this helpful
I ended up resolving this. When digging through the logs, I found the following error in relation to the issue.
No authentication mechansims supported by both server and client (not the misspelling of mechanism)
Researching this error showed it is raised by the JavaMail API (which is used by Tableau). I found there were changes made to this API that influenced certain authentication defaults and sometimes would create an authentication error with some environments dependent on the configuration. If the SMTP server does require authentication, then the user name must be in one of two forms.
When we originally setup our Server back in version 9.1, we did specify SMTP credentials and Tableau has been working just fine. The username was just the username and not in either of the two forms mentioned above. Since the problem started occurring after we upgraded to 10.1, then my assumption is the install of Java APIs with Tableau Server must have included the change to the JavaMail API. So I changed the SMTP user name to the form of DOMAIN\username. This did not help. I continuing reading and found that the JavaMail API will also produce this error when the SMTP server supports anonymous and the client sends credentials. Unannounced to me, our SMTP server does allow anonymous. Therefore I changed the SMTP configuration to remove the username and password. This in fact solved the problem.
1 of 1 people found this helpful
@Thank you very much Lee!. Appreciate your help and posting with your findings to tableau community.
I am also faced the same issue after the tableau server version upgrade from 10.0 to 10.1.1 and resolved with your solution by removing username and password.
Glad it helped Vidyasagar!
Hi Lee Forst
You have mentioned that "Therefore I changed the SMTP configuration to remove the username and password". Where did you do this in tableau server configuration dialog box or some other place.
Yes, in Server configuration on the SMTP Setup tab.