VizAlerts icon indicating copy to clipboard operation
VizAlerts copied to clipboard

Need an SMTP server timeout

Open mcoles opened this issue 8 years ago • 2 comments

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 avatar Jan 11 '17 15:01 mcoles

vizalert\emailaction.py , line 114:

    server = smtplib.SMTP(config.configs['smtp.serv'], config.configs['smtp.port'], timeout=**somevalue**)

mcoles avatar Jan 11 '17 15:01 mcoles

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

AirCooledNut avatar Jan 11 '17 15:01 AirCooledNut