Hi,
I am having problem with phpmailer script. A simple phpmailer script gives an error:
Warning: fsockopen() [function.fsockopen]: unable to connect to mail.domain.com:25 in /home/user/public_html/class.smtp.php on line 122
Message was not sent
Mailer Error: SMTP Error: Could not connect to SMTP host.
I have no problem to connect to mail server using port 25. I can send mail using Email client. Also, I am able to telnet to this port.
I have tried to find the solution but did not get any fix.
Regards,
John