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: Function split() is deprecated in /home/easyat/httpdocs/wiki/inc/parser/metadata.php on line 296
Deprecated: Assigning the return value of new by reference is deprecated in /home/easyat/httpdocs/wiki/inc/parser/xhtml.php on line 918
PHP Example
<?php
$client = new SoapClient("https://manage.easyantispam.com/api/easapi.wsdl");
$u = 'account email address';
$p = 'account password';
$response = $client->listDomains($u,$p,'server hostname');
print $response . "\n";
?>
The above example uses PHP 5 with the SOAP extension enabled to make a client connection to the Easy Antispam API. This particular example calls the listDomains function to return the current list of domains for the specified server and then prints that list.
![]() |
![]() |



Discussion