I've posted the Send to a Friend script on the page below, but an email is not being generated. Could you take a quick look and see if I'm missing anything?
Thanks.
http://www.nwrnetwork.com/radiostations/TheRockRadio/player/index.php
I've posted the Send to a Friend script on the page below, but an email is not being generated. Could you take a quick look and see if I'm missing anything?
Thanks.
http://www.nwrnetwork.com/radiostations/TheRockRadio/player/index.php
Yep, your form currently has this:
<form method="post">
It needs an action, it should be:
<form method="post" action="/path/to/recommend.php">
Since the form is a part of the recommend.php page, should the action simply be:
action="recommend.php"
Good point, that should work. Hey, it's only my code after all, it's not like I should know it! :D
Hmmm....I added the action code and it's still not coming through. Any other ideas?
Actually, looking at it, you probably don't need the action statement, but anyway...
I'm guessing the mail statement isn't working and it's just not reporting errors (most hosts have all errors switched on, some don't), try using this copy of the recommend.php (download or copy and paste text).
I added the new PHP file you sent. Now it's returning the "Error: mail not sent!" message when the form is submitted.
Thanks for helping walk me through this...
I'm having the same problem with the Send to a Friend script. I tried downloading the new copy of the script you included with post #6 but it didn't help.
Email is not generated in either IE7 or Firefox 2 but it says that the message was sent successfully.
Please help!
The page is here:
Hi again,
No need to worry about my post. I've discovered that my web host blocks emails sent from an email other than one hosted with them so using the "from" email field was a problem.
You must login to post.
These forums are so that anyone can ask questions and provide solutions for anything relating Viewfinder Mailing List. You can also leave suggestions for new features or bug reports.