SetDomainSpamCleaner()

From Rackspace Email & Apps API
Revision as of 14:53, 25 August 2008 by APIAdmin (talk | contribs) (New page: This function will set the automatic action to be taken with messages that reside in the spam IMAP/webmail folder. ===Parameters=== Three strings, two integers Administrative usernam...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This function will set the automatic action to be taken with messages that reside in the spam IMAP/webmail folder.

Parameters

Three strings, two integers

   Administrative username (string),
   Administrative password (string),
   Domain name (string),
   Number of days to store a message before auto-deletion (int, 0 to disable),
   Number of messages to store in the spam folder before auto-deletion (int, 0 to disable)

Return Values

If successful, the return value of the function will be 1.

Consult the Result Code Table for a list of result codes and their meaning.