new to php email please help

the mail() function

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 15
Joined: Thu Apr 05, 2012 6:51 pm

Sun Apr 29, 2012 6:34 am

Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

I don't know what these are. I have tried to send an email to and How do I find these values?

User avatar
php-forum Active User
php-forum Active User
Posts: 277
Joined: Wed Aug 25, 2010 10:42 am

Mon May 07, 2012 1:07 am

This means that you DO NOT HAVE MAIL SERVER installed on your PC (localhost). You must setup your ISP SMTP in PHP.INI ,..

Post Reply