Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi there,
On Umbraco 7.1.8 and looking to use notifications / send to publish as a workflow mechanism for writers and editors.
But for a few reasons I'd rather not use the existing SMTP implementation of sending notifications in NotificationService.
Is there a way I can inject a custom implementation of INotificationService into Umbraco?
Specifically I'd like to provide my own implementation of:
INotificationService.SendNotifications(IUser operatingUser, IUmbracoEntity entity, string action, string actionName, HttpContextBase http, Func<IUser, string[], string> createSubject, Func<IUser, string[], string> createBody)
I suppose I could use reflection to set the private INotificationService field in ServiceContext, but is there a better way?
Cheers, Adam.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Custom implementation of NotificationService
Hi there,
On Umbraco 7.1.8 and looking to use notifications / send to publish as a workflow mechanism for writers and editors.
But for a few reasons I'd rather not use the existing SMTP implementation of sending notifications in NotificationService.
Is there a way I can inject a custom implementation of INotificationService into Umbraco?
Specifically I'd like to provide my own implementation of:
INotificationService.SendNotifications(IUser operatingUser, IUmbracoEntity entity, string action, string actionName, HttpContextBase http, Func<IUser, string[], string> createSubject, Func<IUser, string[], string> createBody)
I suppose I could use reflection to set the private INotificationService field in ServiceContext, but is there a better way?
Cheers, Adam.
is working on a reply...