Delete domain mail

				
					StructOperationResponse WebHostingDomainMailDelete(string $IDsession, string $id, string $domain)
			

Delete a domain mail.

REQUIRED

  • idSession string (32)
    Session ID.
  • id string
    Hosting ID.
  • domain string
    Domain mail to be removed.

An Object of type StructOperationResponse

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{
 
    $idSession = $clientSOAP->sessionOpen("XX000", "xxxxxxxx"); 
    $clientSOAP->WebHostingDomainMailCreate($idSession, "NW1024", "mail.netim.com"); 
}
catch(SoapFault $fault) 
{
    echo "Exception : " .$fault->getMessage(). "\n"; 
}
 
if (isset($idSession)) 
{
    $clientSOAP->sessionClose($idSession); 
}