Templates for the MailInContrib

DO NOT MODIFY THIS TOPIC

This is a normal TWiki topic, but it is also a template file, as described in TWikiTemplates. It contains the template definitions used by the MailInContrib to insert mail messages in topics.

Each template is specified in the form of a pair of TWiki template definitions, (surrounded by verbatim tags below for readability). The template to use when inserting incoming mail in a topic is decided from the parameters in the <--MAIL--> comment in the topic. The default template is =normal.

%TMPL:DEF{MAILIN:normal}%   * *%SUBJECT%*: %TEXT% -- %WIKIUSERNAME% - %SERVERTIME%%ATTACHMENTS%
%TMPL:END%

%ATTACHMENTS% in the previous template will be expanded to a list of attachments that came in the mail. Each attachment in the list is formatted by the following template:

%TMPL:DEF{MAILIN:normal:ATTACHMENT}%      * %A_FILE%
%TMPL:END%

DO NOT MODIFY THIS TOPIC

If you want to modify or add any templates, create the TWiki topic MailInContribUserTemplate. This topic is automatically included here if it exists, but it is not shipped with the MailInContrib. Any templates you define in MailInContribUserTemplate will override those defined here.

%TMPL:INCLUDE{"MailInContribUser"}%

Topic revision: r1 - 2010-05-27 - TWikiGuest
 
This site is powered by the TWiki collaboration platformCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.MailInContribTemplate.