new to php email please help

the mail() function

Moderators: macek, egami, gesf

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

new to php email please help

Postby pearsam » 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 lamar.edu and yahoo.com. How do I find these values?

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

Re: new to php email please help

Postby macek » 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 ,..


Return to “PHP coding => Mail”

Who is online

Users browsing this forum: No registered users and 1 guest