Deprecated: Assigning the return value of new by reference is deprecated in /home/easyat/httpdocs/wiki/inc/parser/parser.php on line 66
Deprecated: Assigning the return value of new by reference is deprecated in /home/easyat/httpdocs/wiki/inc/parser/lexer.php on line 299
Deprecated: Assigning the return value of new by reference is deprecated in /home/easyat/httpdocs/wiki/inc/parser/handler.php on line 24
Deprecated: Assigning the return value of new by reference is deprecated in /home/easyat/httpdocs/wiki/inc/parser/handler.php on line 51
Deprecated: Assigning the return value of new by reference is deprecated in /home/easyat/httpdocs/wiki/inc/parser/handler.php on line 215
Deprecated: Assigning the return value of new by reference is deprecated in /home/easyat/httpdocs/wiki/inc/parser/handler.php on line 243
Deprecated: Assigning the return value of new by reference is deprecated in /home/easyat/httpdocs/wiki/inc/parser/handler.php on line 305
Deprecated: Assigning the return value of new by reference is deprecated in /home/easyat/httpdocs/wiki/inc/parser/handler.php on line 338
Deprecated: Assigning the return value of new by reference is deprecated in /home/easyat/httpdocs/wiki/inc/parser/handler.php on line 585
Deprecated: Assigning the return value of new by reference is deprecated in /home/easyat/httpdocs/wiki/inc/parser/xhtml.php on line 918
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