Create domain mail forward

				
					StructOperationResponse domainMailFwdCreate(string idSession, string mailBox, string recipients) 
				
			

Create an email forward.

REQUIRED


  • idSession string (32)
    Session ID.
  • mailBox string (255)
    Email address (* for a catch-all).
  • recipients string (500)
    List of email addresses (separated by commas).

    Only one email address is accepted when using catchall.


An Object of type StructOperationResponse

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