Cisco Cisco Email Security Appliance C680 User Guide

Page of 652
Chapter 14      Text Resources
14-24
Cisco IronPort AsyncOS 7.5 for Email Configuration Guide
OL-25136-01
Importing and Exporting HTML-Based Text Resources
You can export to and import from a text file HTML-based text resources. When 
you export an HTML-based text resource to a file, the file contains the following 
sections for each version of the text resource:
[html_version]
 
[text_version]
 
The order of these sections does not matter.
For example, an exported file might contain the following text:
[html_version] 
<p>Sample <i>message.</i></p> 
[text_version] 
Sample message.
 
Consider the following rules and guidelines when exporting and importing 
HTML-based text resources:
When you export an HTML-based text resource whose plain text message is 
automatically generated from the HTML version, the exported file does not 
contain the 
[text_version]
 section.
When you import from a text file, any HTML code under the 
[html_version]
 
section is converted to the HTML message in the created text resource if the 
text resource type supports HTML messages. Similarly, any text under the 
[text_version]
 section is converted to the plain text message in the created 
text resource.
When you import from a file that contains an empty or nonexistent 
[html_version]
 section to create a HTML-based text resource, the Cisco 
IronPort appliance creates both an HTML and plain text message using the 
text in the 
[text_version]
 section.
Using Text Resources
All types of text resources are created in the same way, using the Text Resources 
page or the 
textconfig
 CLI command. Once created, each type is used in a 
different way. Disclaimers and notification templates are used with filters and 
listeners, while anti-virus notification templates are used with mail policies and 
anti-virus settings.