Delete domain mail forward

				
					StructOperationResponse domainMailFwdDelete(string idSession, string mailBox)
			

Delete an email forward.

REQUIRED


  • idSession string (32)
    Session ID.
  • mailBox string (255)
    Email address to be deleted.

An Object of type StructOperationResponse

There are no functions for updating an email forward. In such case, you must remove the address and create a new one with new recipients.

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