Modify message templates

To modify a specific message template, you use the NewslettersManager class. First, you initialize the NewslettersManager. Then, you get the specified message template. Finally, you modify the title and the body text, and save the changes.

The following code modifies a plain text message template through the Native API:

  1. The following code modifies a page-like message template through the Native API:

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?