Viewfinder Design Support Forum » Downloads

Send to a Friend Not Sending

(9 posts)
  • Started 3 years ago by nateschaub
  • Latest reply from feurerj
  • This topic is not a support question

  1. nateschaub
    Member

    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

    Posted: 2007-04-17 19:28:24 #
  2. Yep, your form currently has this:

    <form method="post">

    It needs an action, it should be:

    <form method="post" action="/path/to/recommend.php">

    Posted: 2007-04-17 19:39:08 #
  3. nateschaub
    Member

    Since the form is a part of the recommend.php page, should the action simply be:

    action="recommend.php"

    Posted: 2007-04-17 19:46:58 #
  4. Good point, that should work. Hey, it's only my code after all, it's not like I should know it! :D

    Posted: 2007-04-17 19:56:22 #
  5. nateschaub
    Member

    Hmmm....I added the action code and it's still not coming through. Any other ideas?

    Posted: 2007-04-17 20:07:00 #
  6. 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).

    Posted: 2007-04-17 20:26:43 #
  7. nateschaub
    Member

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

    Posted: 2007-04-17 20:51:35 #
  8. feurerj
    Member

    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:

    http://pmcgarrig.50webs.net/events/sales.htm

    Posted: 2007-04-23 01:36:13 #
  9. feurerj
    Member

    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.

    Posted: 2007-04-23 02:24:32 #

RSS feed for this topic

Reply

You must login to post.