how the email goes. smtp?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dourvas
Forum Commoner
Posts: 26
Joined: Fri Dec 05, 2008 7:21 am

how the email goes. smtp?

Post by dourvas »

hallo,

i hope that this is not a too dum question..

i want everyone from my site using my mail form to send to my gmail the msg he wishes

i created a mailform and a mailsend php scripts.

when i tried to run the scripts in my localhost i received:

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:\xampp\htdocs\giannis\formsend.php on line 48

i should be waiting for this. where do i find the right smpt parametres? can i test it in my localhost?
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: how the email goes. smtp?

Post by aceconcepts »

Post Reply