+ Reply to Thread
Results 1 to 8 of 8

Thread: $TARGET_EMAIL recipient receives all incomplete emails

  1. #1
    Join Date
    Jul 2010
    Posts
    8

    Default $TARGET_EMAIL recipient receives all incomplete emails

    In the html code for the form mail page I have set a couple of values as being required by the user to fil out for a successful submission. If they do not complete all the required fields they are redirected to the bad_url page instructing them to retry. Despite the user getting this message and having to retry their submission, the $TARGET_EMAIL recipient still receives the message with incomplete data. It will show only those fields the user did complete. Does the $TARGET_EMAIL recipient HAVE to receive all messages? Even the ones that the user was redirected to the bad_url on? Is there anyway for the $TARGET_EMAIL recipient to only receive those attempts that the user was truely successful with? I'm not much of a programmer but am willing to try. Thanks.

  2. #2
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: $TARGET_EMAIL recipient receives all incomplete emails

    if u read that email carefully, u will see it's an "alert message"

    formmail is telling u about problems that ur users are having so u can monitor it

    when ur finished testing, u can set ALERT_ON_USER_ERROR to false to stop those messages

  3. #3
    Join Date
    Jul 2010
    Posts
    8

    Default Re: $TARGET_EMAIL recipient receives all incomplete emails

    Thanks crabtree. Sounds easy enough. I'll try to get things setup soon and will repost if I run into any trouble.

  4. #4
    Join Date
    Jul 2010
    Posts
    8

    Default Re: $TARGET_EMAIL recipient receives all incomplete emails

    Crabtree. Your directions did the trick. Only the successful submissions come through now. One clarification. The "ALERT_ON_USER_ERROR" is actually in two places within the script. One around line 467 and the other near 6486. Thanks for the help.

  5. #5
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: $TARGET_EMAIL recipient receives all incomplete emails

    only change the value in the configuration section (the earlier line)...

    check the doco:
    http://www.tectite.com/fmdoc/alert_on_user_error.php

  6. #6
    Join Date
    Jul 2010
    Posts
    8

    Default Re: $TARGET_EMAIL recipient receives all incomplete emails

    Crabtree...that is what I did to begin with (only changed line 467) but I continued to receive emails on errors. Once I changed the second instance (line 6486) the errors stopped. Aside from changing the first instance are there other risks for changing the second?

  7. #7
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: $TARGET_EMAIL recipient receives all incomplete emails

    only experienced programmers should attemp to change the logic of a script

    u should only change the configuration section

    if the change didn't work, then u didn't do it right.

    hopefully u have a backup copy - return to it and then check the documetnation for the correct instructions

  8. #8
    Join Date
    Jul 2010
    Posts
    8

    Default Re: $TARGET_EMAIL recipient receives all incomplete emails

    Thanks. I actually changed both lines back to "true" and will continue to test. I appreciate the help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. only two emails every ten minutes?
    By vynsane in forum FormMail Subscription Support
    Replies: 4
    Last Post: 26-May-2004, 10:00 PM
  2. No Recipient - Error
    By Chocolinx in forum FormMail Subscription Support
    Replies: 1
    Last Post: 17-May-2004, 12:58 AM
  3. not receiving emails
    By ctpiper in forum FormMail Subscription Support
    Replies: 1
    Last Post: 22-Apr-2004, 10:29 PM
  4. configure recipient email fileds
    By Luke in forum FormMail Subscription Support
    Replies: 1
    Last Post: 02-Apr-2004, 09:49 PM
  5. no recipient errors!
    By jeriy in forum FormMail Subscription Support
    Replies: 3
    Last Post: 20-Jan-2004, 10:45 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts