IContentItemSendGroupNotificationMail Method |
Namespace: Ingeniux.CMS
void SendGroupNotificationMail( IUserGroup group, IUser assignToUser, string comment, IWorkflow workflow, ITransition transition )
This method will not send out emails if the SendWorkFlowNotificationMail setting is false.
The subject and body of the workflow notification email are based on a predefined template, located in the App_Data\xml\custom\emailNotifications folder.
The file name of the workflow notification email template is workflowNotifications.xml.
Modify this file to change the email content.
<?xml version="1.0" encoding="utf-8" ?> <EmailTemplate> <Subject>%siteName% - %workflowName% Notification - %pageName% - %pageId%</Subject> <Body> <p><strong>Workflow Notification</strong></p> <p><em><a href="mailto:%workingUserEmail%">%workingUserName%</a> </em>advanced the item <em><a href="%siteUrl%?ID=%pageId%">%pageName% (%pageId%)</a> </em>through the "<em>%transitionName%</em>" transition in the "<em>%workflowName%</em>" workflow, and assigned it to <em><a href="mailto:%nextUserEmail%">%nextUserName%</a></em></p> <p> </p> <p><strong>Comments from Assigning User:</strong> <br /><em>%comments%</em></p> <p> </p> <p><strong>View Item:</strong><br/><a href="%siteUrl%?ID=%pageId%">%siteUrl%?ID=%pageId%</a></p> </Body> </EmailTemplate>