How to customize email notification?

Vote:
 

We are new to Episerver and I was not able to find where can I change this notification? How and where can I change the text for the message? Is this customizable out of the box? Any suggestions are grately appreciated.

#248351
Feb 08, 2021 17:47
Vote:
 

You can change the notification with help of described examples.

https://world.episerver.com/documentation/developer-guides/CMS/using-notifications/usage-examples/

#248353
Feb 08, 2021 19:27
Vote:
 

Episerver has ProjectEnhancements on Github. A good source if you need code examples. 

#248356
Edited, Feb 08, 2021 20:49
Vote:
 

I've looked into this not too long ago, and found there's not a ton of flexibility with how the actual email template can be modified. See this post: https://world.episerver.com/forum/developer-forum/-Episerver-75-CMS/Thread-Container/2020/11/approval-sequence-customisations/#230497

Copy/paste from that thread:

"I dug into this a bit, and there's not a super simple way to do it. The actual email template is an embedded resource, and the call to get the template is internal. To get started, you'll need to create a custom formatter (INotificationFormatter) as explained here: https://world.episerver.com/documentation/developer-guides/CMS/using-notifications/usage-examples/. From here, I would suggest digging into this more by decompiling the class "ApprovalHtmlEmailFormatter" in the EPiServer.Cms.Shell.UI.Approvals.Notifications namespace, and looking how the FormatMessagesAsync() is done."

#248454
Edited, Feb 10, 2021 17:22
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.