Reply to problem with using mail()

Your name:

Reply:


Posted by Christopher Cheng on 04/05/06 14:52

I have installed php on a Redhat FC2 machine. With the following
script, I am able to email with
"php mailtest.php"
but when I put it in the apache server with the php installed, I could
not email anymore.

<?
$body = "Someone submitted the following information from our online
form";
mail("myemailaddress@hotmail.com", "Our Online Form", $body);
echo "email sent successfully!"
?>

Is there something wrong with my php or apache settings?





.................................................................
Posted via TITANnews - Uncensored Newsgroups Access
>>>> at http://www.TitanNews.com <<<<
-=Every Newsgroup - Anonymous, UNCENSORED, BROADBAND Downloads=-

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация