I am getting Warming message using phpmailer

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sarbas
Forum Commoner
Posts: 64
Joined: Thu Jan 04, 2007 5:51 am

I am getting Warming message using phpmailer

Post 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
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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.
Post Reply