E-mail templates

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

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%}.

Page url: http://devnet.kentico.com/docs/devguide/index.html?managing_e_mail_templates.htm