var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Cannot send mail via php mail send
Warning: fsockopen() [function.fsockopen]: unable to connect to localhost:25 in /home/user/public_html/smtpmail/class.smtp.php on line 105
How do I correct this? I'm using Cpanel with php 4.4.8, apache 2.2, mod suphp
I'm also getting error code -12263 on another domain
Apache error logs shows
[Fri Mar 14 20:16:45 2008] [error] [client 126.96.36.199] Invalid method in request \x16\x03\x01
Make sure you allow connections on port 25, that local SMTP is allowed and it's running. Also, make sure you have this enabled for PHP (check php.ini or phpinfo()'s output to see).
The "Invalid method in request" error is likely unrelated to the SMTP issue, are you reporting two different issues for two different sites?
[Fri Mar 14 23:13:30 2008] [error] [client 188.8.131.52] Invalid method in request \x16\x03\x01
Thats for another domain
If you have installed any firewall program such as apf/csf make sure the smtp related settings are done properly.
Apf configuration is at /etc/apf/conf.apf
Look for IG_TCP_CPORTS in the file and make sure port 25 is listed in it.
check if exim is running or not with
service exim status
After restart apf you can try the following:
kill all exim process running on top
kill all imap process running on top
So you think your server is secure?
Try our security Service