Home   Help Login Register  
Welcome, Guest. Please login or register.

Login with username, password and session length

Search
Free Website WooThemes - Quality Themes, Great Support
Pages: [1]   Go Down
Print
Topic: PHPMailer error :: unable to connect to server  (Read 1443 times)
« on: April 13, 2008, 07:07:19 AM »
John Offline
Newbie

View Profile
*

iTrader: 0
Posts: 6



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

Share this topic on AskShare this topic on BlinkbitsShare this topic on BlinklistShare this topic on BloglinesShare this topic on BmarksShare this topic on Del.icio.usShare this topic on DiggShare this topic on DzoneShare this topic on FacebookShare this topic on Feed Me LinksShare this topic on FurlShare this topic on GoogleShare this topic on LiveShare this topic on MagnoliaShare this topic on MySpaceShare this topic on NetvouzShare this topic on NewsvineShare this topic on OneviewShare this topic on RedditShare this topic on RojoShare this topic on ScuttleShare this topic on ShadowsShare this topic on SlashdotShare this topic on SpurlShare this topic on SquidooShare this topic on StumbleUponShare this topic on TechnoratiShare this topic on TwitterShare this topic on TipdShare this topic on YahooShare this topic on Google buzz
« Last Edit: December 31, 1969, 05:00:00 PM by John » Logged
« Reply #1 on: April 23, 2008, 01:02:15 PM »
Kailash Offline
Administrator
Newbie

View Profile WWW
*****

iTrader: 50
Posts: 286



It could be PHP version problem. Try to downgrade the version of PHP and then try. If it doesn't help try to downgrade Apache version if you are using latest one.
« Last Edit: December 31, 1969, 05:00:00 PM by Kailash » Logged

Pages: [1]   Go Up
Print
Jump to:  

Untitled Document
(c) 2012 HELM, WHM, cPanel, ASP, .Net development, PHP, MySQL, MSSQL Server, SEO support forum
Powered by SMF 1.1.16 | SMF © 2011, Simple Machines | Forum style designed by PixelSlot
Google - Sitemap - XML Sitemap