Creating text-only digests

  • 7019791
  • 05-Apr-2010
  • 07-Aug-2017

Environment

GWAVA (All versions) Problem/Question: How do I create a template to receive text-only digests? Resolution: 1) Backup the digest templates
For GWAVA 4, navigate to the .../gwava4/assets/global/template folder and create a backup of the following template files (or whichever ones you are using) For newer versions of GWAVA, navigate to the .../gwava/assets/global/template folder and create a backup of the following template files (or whichever ones you are using)
  • digest2_master.xml
2) Modify the digest2_mime_separator to not include any HTML and save it as a different name (digest2_mime_separator_text.shtml)
Remove everything in the document except what comes before the HTML mime part. It will look like this:
<!--#if var="maximum_digest_rows" empty="true" --><!--#localvar var="maximum_digest_rows" equals="50" --><!--#endif --> ------------------------------------------------------------------------ <!--#if var="digest.messagecount" greaterthan="$(maximum_digest_rows)" --> Additional items were blocked for this account and can be viewed in the GWAVA quarantine management system which is located at the following URL '<!--#echo var="ReleaseButtonAddress" else="http://$(server.connectionaddress)" -->/contents/login.shtml?UserID=<!--#echo var="digest.emailaddress" -->' ------------------------------------------------------------------------ <!--#endif -->
3) Modify the digest2_master.xml file to not use the HTML only templates and use the text only mime separator
Open the digest_master.xml file in your favorite text editor and remove the digest2_html_body and digest2_footer line so it looks similar to the following:
<digest><include><files> <file><source>digest2_header.shtml</source><frequency>once</frequency><renderer>shtml</renderer></file> <file><source>digest2_text_body.shtml</source><frequency>perrow</frequency><renderer>shtml</renderer></file> <file><source>digest2_mime_seperator_text.shtml</source><frequency>once</frequency><renderer>shtml</renderer></file> </files></include></digest>
Digests will now be sent without any HTML and in a text only format.
Others in this Category
document Digests - Changing the "From:" Field
document Cannot Access Quarantine or Release Messages From Digest Outside of the Network
document Administrator Address Fields in Gwava 4
document Users getting duplicate digest reports.
document Sending a Notification to a Certain User When a Filter Fires
document Troubleshooting the GWAVA Digest (e-mail Archive Report) in Gwava 4
document Templates Broken After Editing
document Enabling GWAVA Digests
document Digests in French or German
document Error When Trying to Release a Message From the Digest
document Digests or notifications release but do not show up in clients mailbox
document Digest releases but does not show up in clients mailbox
document How to Configure Exchange to Allow AUTH LOGIN to work
document Will Disabling Notifications Affect My Digest Reports?
document How To Release a Digest Manually in QMS2
document Adjust Results Shown in Digest Report
document How to Enable Digests to Certain Users
document Getting an "Application not Found" Error When Trying to Release From a Digest Report.
document Information About Creating Custom Digests
document How to Send Digests to Other Hosted Domains
document Why Are Digest Reports going Out To Non-Existent Users
document Administrator Address Fields in Gwava 6

RSS

Resolution



1) Backup the digest templates
For GWAVA 4, navigate to the .../gwava4/assets/global/template folder and create a backup of the following template files (or whichever ones you are using)

For newer versions of GWAVA, navigate to the .../gwava/assets/global/template folder and create a backup of the following template files (or whichever ones you are using)
  • digest2_master.xml
2) Modify the digest2_mime_separator to not include any HTML and save it as a different name (digest2_mime_separator_text.shtml)
Remove everything in the document except what comes before the HTML mime part. It will look like this:
<!--#if var="maximum_digest_rows" empty="true" --><!--#localvar var="maximum_digest_rows" equals="50" --><!--#endif -->
------------------------------------------------------------------------

<!--#if var="digest.messagecount" greaterthan="$(maximum_digest_rows)" -->

Additional items were blocked for this account and can be viewed in the
GWAVA quarantine management system which is located at the following URL

'<!--#echo var="ReleaseButtonAddress" else="http://$(server.connectionaddress)" -->/contents/login.shtml?UserID=<!--#echo var="digest.emailaddress" -->'

------------------------------------------------------------------------
<!--#endif -->
3) Modify the digest2_master.xml file to not use the HTML only templates and use the text only mime separator
Open the digest_master.xml file in your favorite text editor and remove the digest2_html_body and digest2_footer line so it looks similar to the following:
<digest><include><files>
<file><source>digest2_header.shtml</source><frequency>once</frequency><renderer>shtml</renderer></file>
<file><source>digest2_text_body.shtml</source><frequency>perrow</frequency><renderer>shtml</renderer></file>
<file><source>digest2_mime_seperator_text.shtml</source><frequency>once</frequency><renderer>shtml</renderer></file>
</files></include></digest>

Digests will now be sent without any HTML and in a text only format.

Additional Information

This article was originally published in the GWAVA knowledgebase as article ID 1675.