Page 1 of 1

I am getting Warming message using phpmailer

Posted: Fri May 04, 2007 5:24 am
by sarbas
Hi to all,

I'm using phpmailer. i got following error

Code: Select all

Warning: fsockopen(): unable to connect to  www.yourdomain.com:25 in chat/class/phpmailer/class.smtp.php on line 209.

If any one know about this issue.please help me

Posted: Fri May 04, 2007 5:42 am
by Chris Corbyn
It's trying to connect to http://www.yourdomain.com on port 25. You need to change http://www.yourdomain.com to your actual domain for the SMTP server.

EDIT | Use Swift Mailer instead. PHPMailer went out of development in 2005.