PHP email form is not working

Hi dudes!
i am a self-instructed web designer and i have got a lot of knowledge from KIRUPA site, man thanks for this, anyway recently i tried out PHP email form in which i made two types of form one Qoutation and other feed back i did step by step evrything showed in Kirupa tutorial also in other that i found on net. NOW…when i post the feedback form it goes well and also shows me the message that i entered for successful submission like"thanks for sending feedback" but I m not recieving email. i have tried ten times with different styles all the time i recieve ok message but no email in my inbox i have tried it for both hotmail and yahoo, its not working,pleeeeeeeease help me…waiting for your reply :ear:

Is this site hosted locally, on your machine? What I am getting at is that either smtp or sendmail needs to be setup in PHP, unless you define it directly in your PHP script.

Check ure junkmail :slight_smile: if its being send to some hotmail or yahoo for that mather…

Also check this uri Send Mail

I posted a working mailer on that post, And will send the mail witout it ending up in junkmail.

Ofcourse u will have to make the ajustments to fit ure needs as in return($message) and all that crap. but ohwell thats gonna be easy to figure out :slight_smile:

hi dear thanks for your response but i have uploaded ur page and even its giving error like"parse error in line 5 may be where u have #ie anyway please help me out i m very tense i have been working on this email form for last two weeks but its not sending me email…please i want to put one for working could u help me and i wonder if u could do this in a very easy way.
thanks :kir:

replace that $message part with ure message, i dont think you will have the same setup.


$message = 'You\'re message goes here ';
#or
$message .= 'hello there<p>'.$_POST['message'];
$message .= 'Thank you';