#1661 - Cannot send email when using Composrs code This is a spacer post for a website comment topic. The content this topic relates to: #1661 - Cannot send email when using Composrs code By Guest posted 27th Jun 2014, 1:56 AM Do not fill this field in. Done some debugging on this this morning. In mail.php around line 578 $socket=@fsockopen($host,$port,$errno,$errstr,30.0); We are getting connection refused By Guest posted 27th Jun 2014, 2:19 AM It looks like Hostgator has the 587 outgoing port closed - I am tying to get that open now. As an aside how do you get your PHP code to show error messages - is there a property I can set so that debug output comes out ? By Guest posted 27th Jun 2014, 8:30 AM Please close this issue as it is now resolved by getting the port opened 0 guests and 0 members have recently viewed this. Sort: Relevance Newest first Oldest first Rating Popularity
In mail.php around line 578
$socket=@fsockopen($host,$port,$errno,$errstr,30.0);
We are getting connection refused
As an aside how do you get your PHP code to show error messages - is there a property I can set so that debug output comes out ?