Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
PHP Feedback Forms - message sent shows but emails never arrive
Old 10-10-2007, 06:03 AM PHP Feedback Forms - message sent shows but emails never arrive
pjb007's Avatar
Super Talker

Posts: 104
Location: UK
Trades: 0
I am trying to create a PHP Feedback form.

I've tried an example in a PHP book and several from various tutorial websites but have not yet got any of them to work.

The latest site I tried was:
http://www.codetricks.com/article.php?cat=&id=11

I have even copied the code for the form and the sendmail pages so I am using the exact same code (with the exception of the email address) and that fails to work.

On submit I get the thank you message but no email has arrived.

Other elements of PHP are working fine.

Any suggestions?

I host the site with SupaNames.
__________________
pjb007
pjb007 is offline
Reply With Quote
View Public Profile Visit pjb007's homepage!
 
 
Register now for full access!
Old 10-10-2007, 09:47 AM Re: PHP Feedback Forms - message sent shows but emails never arrive
Galaxian's Avatar
Dingleberry!

Posts: 825
Name: Rich
Location: United Kingdom
Trades: 0
on the line

PHP Code:
mail($recipient$subject$formcontent$mailheader) or die("Failure"); 
change it to

PHP Code:
mail($recipient$subject$formcontent) or die("Failure"); 
to see if your mail is working .. send it to yourself
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Galaxian is offline
Reply With Quote
View Public Profile Visit Galaxian's homepage!
 
Old 10-10-2007, 10:27 AM Re: PHP Feedback Forms - message sent shows but emails never arrive
pjb007's Avatar
Super Talker

Posts: 104
Location: UK
Trades: 0
Just tried that and it still does not work.
__________________
pjb007
pjb007 is offline
Reply With Quote
View Public Profile Visit pjb007's homepage!
 
Old 10-10-2007, 11:54 AM Re: PHP Feedback Forms - message sent shows but emails never arrive
Galaxian's Avatar
Dingleberry!

Posts: 825
Name: Rich
Location: United Kingdom
Trades: 0
If you are correctly executing the mail() function with all the correct parameteres and you're having no or unexpected results then there's something wrong with mail() on your server
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Galaxian is offline
Reply With Quote
View Public Profile Visit Galaxian's homepage!
 
Old 10-10-2007, 12:13 PM Re: PHP Feedback Forms - message sent shows but emails never arrive
pjb007's Avatar
Super Talker

Posts: 104
Location: UK
Trades: 0
Thanks, I have contacated the Support Desk at my host.
__________________
pjb007
pjb007 is offline
Reply With Quote
View Public Profile Visit pjb007's homepage!
 
Reply     « Reply to PHP Feedback Forms - message sent shows but emails never arrive
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.44053 seconds with 12 queries