Easy Antispam
| current status & blog | support | about us
   Home -> About Us -> Wiki
Writing /home/easyat/httpdocs/wiki/data/cache/d/d952b4a3e6e2b8de6c984d6ec119bb97.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/easyat/httpdocs/wiki/data/cache/d/d952b4a3e6e2b8de6c984d6ec119bb97.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/easyat/httpdocs/wiki/data/cache/d/d952b4a3e6e2b8de6c984d6ec119bb97.xhtml failed

Function: listDomains

The listDomains function returns the list of domains that are currently assigned to a specified server.

Syntax

listDomains (email, password, server)

Parameters

  • email (string) - Authenticating user's email address
  • password (string) - Authenticating user's password
  • server (string) - Server hostname to return attached domains for

Results

This function will return a string containing different results depending on if the call was successful or if an error was found.

Error Results

  • 0 - Login failed: The email address/password combination was incorrect
  • 1 - Access to Server Denied: The specified server hostname is not assigned to the authenticated account

Success Results

A sucessful call to this function will return a comma-separated list of the domains assigned to the specified server hostname. If no domains are assigned, the result will be blank.

Discussion

Enter your comment: