GetUserSpamCleaner()

From Rackspace Email & Apps API
Jump to: navigation, search

This function will report 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 means disabled),
   Number of messages to store in the spam folder before auto-deletion (int, 0 means disabled)

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.