The issue was not in the code but with credentials provided by eFax.  The code is working fine now. Will check Eduard's suggestion to drop the $zcvt()