Set timeout for sending email

Closes #4348
pull/4435/head
Mark McDowall 4 years ago
parent 7da695bd62
commit 5449389ca5

@ -103,6 +103,8 @@ namespace NzbDrone.Core.Notifications.Email
{
using (var client = new SmtpClient())
{
client.Timeout = 10000;
var serverOption = SecureSocketOptions.Auto;
if (settings.RequireEncryption)

Loading…
Cancel
Save