You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by co...@spamassassin.apache.org on 2005/01/21 05:46:40 UTC
[SpamAssassin Wiki] Updated: PluginWritingTips
Date: 2005-01-20T20:46:40
Editor: JustinMason
Wiki: SpamAssassin Wiki
Page: PluginWritingTips
URL: http://wiki.apache.org/spamassassin/PluginWritingTips
no comment
Change Log:
------------------------------------------------------------------------------
@@ -4,7 +4,7 @@
== Setting Output Headers ==
-If you want to add custom headers in the rewritten mail message, the Mail::SpamAssassin::PerMsgStatus::set_tag() API is the way to do it.
+If you want to add custom headers in the rewritten mail message, the {{{Mail::SpamAssassin::PerMsgStatus::set_tag()}}} API is the way to do it.
The way it works is, you add a line like this to the plugin configuration file, or the user's preferences file:
@@ -25,4 +25,4 @@
X-Spam-Test-Tag: the tag says hello world
}}}
-You can also get the value of a tag using the Mail::SpamAssassin::PerMsgStatus::get_tag() API from inside a plugin, although note that some of the tags will not be filled in until after the scan completes, and may not be available.
+You can also get the value of a tag using the {{{Mail::SpamAssassin::PerMsgStatus::get_tag()}}} API from inside a plugin, although note that some of the tags will not be filled in until after the scan completes, and may not be available.