Posted by: james-holland (
Date: August 23, 2006 05:47PM


This may be a stupid thing to ask, but I can't get the IMAP extension working.

I have enabled it in the php extensions menu, and checked the php.ini file and it is uncommented.

But my script comes up with this error: Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\29\mail_fns.php on line 271

According to the book I'm reading, if imap is enabled it should appear in the phpinfo(), but I can't see anything.

Any ideas?


Options: ReplyQuote
Posted by: yfastud (72.236.169.---)
Date: August 24, 2006 03:00PM

Check this post


Options: ReplyQuote

Sorry, only registered users may post in this forum.