Writing /home/easyat/httpdocs/wiki/data/cache/e/e583c47e83ca75c43b6ce4d5564dee12.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/easyat/httpdocs/wiki/data/cache/e/e583c47e83ca75c43b6ce4d5564dee12.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/easyat/httpdocs/wiki/data/cache/e/e583c47e83ca75c43b6ce4d5564dee12.xhtml failed
Table of Contents
Function: addDomain
The addDomain function adds the specified domain to the specified server.
Syntax
addDomain (email, password, domain, server)
Parameters
- email (string) - Authenticating user's email address
- password (string) - Authenticating user's password
- domain (string) - Domain to add
- server (string) - Server hostname to add specified domain to
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
- 2 - The domain specified already exists in the Easy Antispam system (duplicate domain)
Success Results
A sucessful call to this function will return the gateway hostname that the domain is assigned to. (example: g1.ijnet.net)
![]() |
![]() |



Discussion