API Commands
[All Commands]

Info_World_Hosting_Email_Domain


Information about an email domain or subdomain.

Input:

string ssid token from Login
string domain World Hosting domain name
string edomain full email domain name

Output:

string status ok | error
string edomain full email domain name
string type domain or subdomain
array filters list of filtered domains and email addresses
string address domain or email address
string type blacklist or whitelist
array antispam list of antispam rules
string flag parameter name
int value parameter value

Example:


<?php

$client 
= new SoapClient(null, [
    
'location' => 'http://regtons.com/soap/cmd.php',
    
'uri' => 'http://regtons.com/soap'
]);

$login_input = [
    
'login' => 'demo',
    
'password' => 'demouser'
];

$login_output $client->__call('Login', ['data' => $login_input]);

$input = [
    
'ssid' => $login_output['data']['ssid'],
    
'domain' => 'domain.or.af',
    
'edomain' => 'domain.or.af'
];

$output $client->__call('Info_World_Hosting_Email_Domain', ['data' => $input]);

print_r($input);
print_r($output);
$input: Array ( [ssid] => 51aca4e95c12821b56a9045babc943e7 [domain] => domain.or.af [edomain] => domain.or.af ) $output: Array ( [status] => ok [edomain] => domain.or.af [type] => domain [filters] => Array ( [0] => Array ( [address] => blacklisted.or.af [type] => blacklist ) ) [antispam] => Array ( [0] => Array ( [flag] => POINTS [value] => 5 ) ) )

API Manual - version from 2023-05-12 12:15:50