PDA

View Full Version : PHP email form is not working



honey4u
September 8th, 2004, 03:02 PM
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:

aknatn
September 8th, 2004, 03:08 PM
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.

ol4pr0
September 10th, 2004, 04:42 AM
Check ure junkmail :) if its being send to some hotmail or yahoo for that mather..

ol4pr0
September 10th, 2004, 04:45 AM
Also check this uri Send Mail (http://www.kirupaforum.com/forums/showthread.php?t=69414)

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 :)

honey4u
September 11th, 2004, 03:02 PM
Also check this uri Send Mail (http://www.kirupaforum.com/forums/showthread.php?t=69414)

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 :)

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:

ol4pr0
September 13th, 2004, 03:43 PM
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';