<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://api-wiki.apps.rackspace.com/api-wiki/index.php?action=history&amp;feed=atom&amp;title=AddDomainSpam%28%29</id>
		<title>AddDomainSpam() - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://api-wiki.apps.rackspace.com/api-wiki/index.php?action=history&amp;feed=atom&amp;title=AddDomainSpam%28%29"/>
		<link rel="alternate" type="text/html" href="http://api-wiki.apps.rackspace.com/api-wiki/index.php?title=AddDomainSpam()&amp;action=history"/>
		<updated>2026-04-13T16:09:43Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>http://api-wiki.apps.rackspace.com/api-wiki/index.php?title=AddDomainSpam()&amp;diff=105&amp;oldid=prev</id>
		<title>APIAdmin: New page: This function will set the threshold of sensitivity for determining whether a message should be considered spam and also sets the action to be taken for messages that meet the threshold.  ...</title>
		<link rel="alternate" type="text/html" href="http://api-wiki.apps.rackspace.com/api-wiki/index.php?title=AddDomainSpam()&amp;diff=105&amp;oldid=prev"/>
				<updated>2008-08-25T22:52:29Z</updated>
		
		<summary type="html">&lt;p&gt;New page: This function will set the threshold of sensitivity for determining whether a message should be considered spam and also sets the action to be taken for messages that meet the threshold.  ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This function will set the threshold of sensitivity for determining whether a message should be considered spam and also sets the action to be taken for messages that meet the threshold.&lt;br /&gt;
&lt;br /&gt;
 Threshold&lt;br /&gt;
 &amp;amp;nbsp;&amp;amp;nbsp;high = most common setting; flags more messages as spam&lt;br /&gt;
 &amp;amp;nbsp;&amp;amp;nbsp;low = flags less messages as spam&lt;br /&gt;
 &amp;amp;nbsp;&amp;amp;nbsp;exclusive = considers all messages as spam unless sender is on a safelist&lt;br /&gt;
&lt;br /&gt;
 Action&lt;br /&gt;
 &amp;amp;nbsp;&amp;amp;nbsp;ignore = deliver the message normally (not recommended)&lt;br /&gt;
 &amp;amp;nbsp;&amp;amp;nbsp;delete = immediately delete the message from the system&lt;br /&gt;
 &amp;amp;nbsp;&amp;amp;nbsp;folder = deliver the message to the spam folder (use [[SetDomainSpamCleaner()]])&lt;br /&gt;
 &amp;amp;nbsp;&amp;amp;nbsp;attach = &lt;br /&gt;
 &amp;amp;nbsp;&amp;amp;nbsp;routeto = redirect the message to another email account (like an admin account)&lt;br /&gt;
 &amp;amp;nbsp;&amp;amp;nbsp;subject = add '[SPAM]' to the beginning of the subject line&lt;br /&gt;
 &amp;amp;nbsp;&amp;amp;nbsp;header = add custom text to the top of the message&lt;br /&gt;
 &amp;amp;nbsp;&amp;amp;nbsp;footer = add custom text to the bottom of the message&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
Five to six strings&lt;br /&gt;
    Administrative username (string),&lt;br /&gt;
    Administrative password (string),&lt;br /&gt;
    Domain name,&lt;br /&gt;
    Threshold level (high, low, exclusive),&lt;br /&gt;
    Action (ignore, delete, folder, attach, routeto, subject, header, footer),&lt;br /&gt;
    Action value (needed for some actions:&lt;br /&gt;
    &amp;amp;nbsp;&amp;amp;nbsp;routeto email address, header text or footer text)&lt;br /&gt;
===Return Values===&lt;br /&gt;
If successful, the return value of the function will be 1.&lt;br /&gt;
&lt;br /&gt;
Consult the [[resultcodes|Result Code Table]] for a list of result codes and their meaning.&lt;/div&gt;</summary>
		<author><name>APIAdmin</name></author>	</entry>

	</feed>