same program not running on a different server
<p>Im facing a strange problem.. iv written some codes on sending mails using google smtp, yahoo smtp, and aol smtp in php. its working fine. but when im trying to run the same codes on a different server and domain it is giving me the following error:</p>

<p>SMTP Error: Could not connect to SMTP host. </p>

<p>any solutions??</p>
