E-mail templates

Kentico CMS sends e-mails for various purposes, such as workflow notification. You can modify the e-mail templates sent by the system so that they match your design and/or language.

 

You can modify e-mail templates in Site Manager -> Development -> E-mail templates.

 

There are two types of e-mail templates: global and site-specific. If there's no site-specific template, the global template is used instead.

 

The e-mail template has the following properties:

 

Display name

The name of the template displayed to the users.

Code name

The name of the template used in the code.

From

E-mail address that will be used as the sender (From) address of the e-mail.

Cc

E-mail addresses of copy recipients.

Bcc

E-mail addresses of copy recipients. These will get a copy of the e-mail, but won't see other recipient's addresses in the mail.

Subject

Subject of the e-mail.

Text

HTML code of the e-mail template.

Plain text

Plain text of the e-mail template.

 

Example of the template text:

 

<html>

       <head>

       </head>

       <body style="FONT-SIZE: 12px; FONT-FAMILY: arial">

               <p>

               This an automatic notification sent by Kentico CMS. The following document is waiting for your approval. Please sign in to Kentico CMS Desk and approve it.

               </p>

               <p>

               <b>Document:</b> <a href="{%applicationurl%}/cmsdesk/default.aspx?expandidpath={%idpath%}&expandmode=publish">{%documentname%}</a>

               <br>

               <b>Last approved by:</b> {%approvedby%}

               <br>

               <b>Last approved when:</b> {%approvedwhen%}

               <br>

               <b>Original step:</b> {%originalstep%}

               <br>

               <b>Current step:</b> {%currentstep%}

               <br>

               <b>Comment:</b>

               <br>

               {%comment%}

               </p>

       </body>

</html>

 

 

Please note that the template may contain special macro expressions that are resolved (merged) when the e-mail is sent, such as {%approvedby%}.