KNOWLEDGE BASE

Tableau Server Cannot Send Email via smtp.gmail.com


Published: 19 Apr 2017
Last Modified Date: 01 Dec 2017

Issue

When setting up Tableau Server for Alerts, the admin receives emails for failed refreshes, but does not receive emails for failed "subscriptions to views" conditional task.

When setting up Tableau Server for Alerts, the admin receives no e-mails.

Associated errors: 

javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1

javax.mail.AuthenticationFailedException: 534-5.7.14

Environment

  • Tableau Server
  • Google SMTP

Resolution

It may be necessary to "allow less secure apps to your account" on the Google configuration end: https://myaccount.google.com/lesssecureapps

Unsupported workaround configuration.
  • SMTP server: smtp.google.com
  • Port: 587
  • Enable TLS


 

Cause

smtp.gmail.com requires SSL or TLS which is not currently supported on Tableau Server.
Did this article resolve the issue?