Page 1 of 1

Help me !!! Help me !!! Help me !!! Help me !!!

Posted: Sat Apr 18, 2009 9:22 am
by ashii
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

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>");
}
?>

Re: Help me !!! Help me !!! Help me !!! Help me !!!

Posted: Sat Apr 18, 2009 9:36 am
by jazz090
did u check ur junk folder?

Re: Help me !!! Help me !!! Help me !!! Help me !!!

Posted: Sat Apr 18, 2009 9:45 am
by ashii
jazz090 wrote:did u check ur junk folder?
junk folder ??????
woz dat.....

Re: Help me !!! Help me !!! Help me !!! Help me !!!

Posted: Sat Apr 18, 2009 10:47 am
by jazz090
in you gmail, you should have junk mail or spam box, cos gmail, hotmail, yahoo, all filter emails sent by php to a spam folder so instead of it going to ur inbox, it goes in there, so check there to c if its there.