I have changed the credentials in my jobSubmitRequest xml with my production account credentials
The submission url that I am using now is https://messaging.easylink.com/soap/sync
Now I am getting this Error:fsockopen(): unable to connect to messaging.easylink.com:80 (A socket operation was attempted to an unreachable network)
This is my code
$RemoteServer = "messaging.easylink.com";
$Header = "POST /soap/sync HTTP/1.0\r\n";
$Header .= "Host: ".$RemoteServer."\r\n";
$Header .= "User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)\r\n";
$Header .= "Content-type: text/html\r\n";
$Header .= "Content-length: ".strlen($jobSubmitXml)."\r\n\r\n";
$Header .= $jobSubmitXml."\r\n";
$DataUP = fsockopen($RemoteServer,80);
fputs($DataUP,$Header);
while (!feof($DataUP)) {
$ReturnXML = fgets($DataUP,4096);
if (strpos($ReturnXML,"xml version")) $FindCode = 1;
if (@$FindCode==1) @$Result_Send .= $ReturnXML;
}
fclose($DataUP);