Added SMTP as an ExternalNotifcation method.

This commit is contained in:
Mark McDowall 2011-10-25 19:25:08 -07:00
commit 9957aef811
5 changed files with 183 additions and 0 deletions

View file

@ -105,6 +105,7 @@ namespace NzbDrone.Core
private static void BindExternalNotifications()
{
_kernel.Bind<ExternalNotificationBase>().To<Xbmc>();
_kernel.Bind<ExternalNotificationBase>().To<Smtp>();
var notifiers = _kernel.GetAll<ExternalNotificationBase>();
_kernel.Get<ExternalNotificationProvider>().InitializeNotifiers(notifiers.ToList());