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

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
ashii
Forum Newbie
Posts: 2
Joined: Sat Apr 18, 2009 9:15 am

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

Post 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>");
}
?>
User avatar
jazz090
Forum Contributor
Posts: 176
Joined: Sun Apr 12, 2009 3:29 pm
Location: England

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

Post by jazz090 »

did u check ur junk folder?
ashii
Forum Newbie
Posts: 2
Joined: Sat Apr 18, 2009 9:15 am

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

Post by ashii »

jazz090 wrote:did u check ur junk folder?
junk folder ??????
woz dat.....
User avatar
jazz090
Forum Contributor
Posts: 176
Joined: Sun Apr 12, 2009 3:29 pm
Location: England

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

Post 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.
Post Reply