PDA

View Full Version : PHP form mail problems



tomtom_dude
October 4th, 2004, 06:32 PM
I am just starting to use PHP and I thought I would take the tutorial on this site about PHP form mail. When I tested the script, I got the following error:
"Warning: mail() [function.mail (http://localhost/tests/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 http://localhost/tests/mailer.php on line 29". I was wondering if anyone would be able to help me with my situation. Thanks.

Digitalosophy
October 4th, 2004, 08:05 PM
try
http://www.phpbuilder.com/lists/php-general/2003111/0041.php
http://forums.devshed.com/archive/t-55008
http://www.flash-db.com/Board/Printpage.php?board=13;threadid=3545
http://forums.oscommerce.com/index.php?showtopic=48655&st=0&hl=
http://www.webmasterworld.com/forum88/1259.htm
http://www.manucorp.com/archives/php-general/200311/msg00052.php

CyanBlue
October 4th, 2004, 08:42 PM
Whenever I get the PHP error, I usually google with the specific error message... 8 out of 10 times, I get to find the solution from searching... Chances are that many people have been struggling with pretty much the same thing that I had problem with... :D