Help me !!! Help me !!! Help me !!! Help me !!!
Posted: Sat Apr 18, 2009 9:22 am
Hi all !!!
am in a xp 'box' i juz wana make a mail script
and this is my mail script ......
i get the succes message....
but i din get anythin 2 ma mail
is there s any mistakes in ma code
plz help mee
am in a xp 'box' i juz wana make a mail script
and this is my mail script ......
i get the succes message....
but i din get anythin 2 ma mail
is there s any mistakes in ma code
plz help mee
Code: Select all
<?php
$to = "ashii@gmail.com";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
$from="ashii@yahoo.com";
if (mail($to, $subject, $body ,$from)) {
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}
?>