Hello, I have a login site, where when a user registers, they get a confirmation email. But right now, they are just getting 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:\kyle\testing\petcatalog\login.php on line 311
But, I DID change the smtp to smtp.gmail.com and the port to 465 and the email to use to kyle@kylethewizkid.com . But that did not change a thing, oddly enough, the same error appeared (with the port still at 25 and the SMTP at localhost)
Any ideas?
simple, probably common, MAIL() problem with php.
Moderator: General Moderators
-
hocky_nutty
- Forum Newbie
- Posts: 3
- Joined: Thu Jun 26, 2008 11:20 am
Re: simple, probably common, MAIL() problem with php.
You may need to restart Apache to re-read the php.ini file.