Delete mail forward

				
					StructOperationResponse WebHostingMailFwdDelete(string $IDsession, string $id, string $source)
				
			

Delete an email forward.

REQUIRED

  • idSession string (32)
    Session ID.
  • id string
    Hosting ID.
  • source string
    Email address to be deleted.

An Object of type StructOperationResponse

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