tableau / VizAlerts

Data-driven alerting for Tableau Server
MIT License
211 stars 91 forks source link

Need an SMTP server timeout #89

Open mcoles opened 7 years ago

mcoles commented 7 years ago

Doing some testing trying to use Mandrill as an SMTP server, I found that VizAlerts was stalling because traffic was being blocked internally to external mail services. Should set a configurable timeout in vizalerts.yaml so that we don't wait for forever if that happens.

mcoles commented 7 years ago

vizalert\emailaction.py , line 114:

    server = smtplib.SMTP(config.configs['smtp.serv'], config.configs['smtp.port'], timeout=**somevalue**)
AirCooledNut commented 7 years ago

Along with a nice, user-friendly error message ;-)