public NotificationService(IMessageDelivery messageDelivery, ApplicationInformation appInfo) { this.smtpEventHandler = new EmailEventHandler(new EmailMessageFormatter(appInfo), messageDelivery); this.appInfo = appInfo; }