API Commands
[All Commands]

List_World_Hosting_Email_Domains


List of email domains and subdomains.

Input:

string ssid token from Login
string domain World Hosting domain name

Output:

string status ok | error
array domains list of domains and subdomains
string edomain full 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
array blocked list of domains with inactive email administration
string edomain full domain name
string reason mx = domain's MX DNS records are incorrect; other = domain is already hosted by another web hosting service

Example:


<?php

$client 
= new SoapClient(null, [
    
'location' => 'http://subreg.cz/soap/cmd.php',
    
'uri' => 'http://subreg.cz/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'
];

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

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

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