Difference between revisions of "SetUserSpamCleaner()"

From Rackspace Email & Apps API
Jump to: navigation, search
(New page: This function will set the automatic action to be taken with messages that reside in the spam IMAP/webmail folder. Please remember that user-level settings for filter level and handling a...)
 
(No difference)

Latest revision as of 14:53, 25 August 2008

This function will set the automatic action to be taken with messages that reside in the spam IMAP/webmail folder. Please remember that user-level settings for filter level and handling actions take precedence over domaini-level settings.

Parameters

Four strings, two integers:

   Administrative username (string),
   Administrative password (string),
   Domain name (string),
   User ID,
   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.