Fix: Email notification testing.

This commit is contained in:
Mark McDowall 2012-04-04 15:29:55 -07:00
commit c9fcde3bbb
4 changed files with 93 additions and 92 deletions

View file

@ -90,7 +90,7 @@ namespace NzbDrone.Core.Providers
credentials = new NetworkCredential(username, password);
//Send the email
return Send(email, _configProvider.SmtpServer, _configProvider.SmtpPort, _configProvider.SmtpUseSsl, credentials);
return Send(email, server, port, ssl, credentials);
}
//TODO: make this throw instead of return false.