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

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

Enter your comment: