Results 1 to 2 of 2

Thread: New form installation - can't get it working

  1. #1
    Join Date
    May 2010

    Default New form installation - can't get it working

    Problem solved. Erasing what I wrote and replacing it with this:

    I just spent 2 1/2 hrs experimenting to learn this:

    The instructions in the beginning of formmail.php, are unclear:

    near line 235 in this file - replace "yourhost\.com" with your mail server's name
    but the actual text at 235 is:
    $TARGET_EMAIL = array(EMAIL_NAME."@yourhost\.com$");
    with "@" sign before the email address and the "$" after it, and a "\" in the middle.

    Confusing, but I guess I'm the first one to stumble here.. Do I need the @? Do I need the $? What's with the "\" - need it? Or does it only represent URL sub-directories one may or may not have?

    I tried putting in — what I assumed was my mail server — several ways:
    $TARGET_EMAIL = array(EMAIL_NAME."$");
    $TARGET_EMAIL = array(EMAIL_NAME."");
    $TARGET_EMAIL = array(EMAIL_NAME."\.com");

    Neither worked. Well, that's the name of my mail server - as the directions state. Or is it? What is needed instead, and what now works (for me) is the name of my ISP, (sbc and yahoo are the same in S. California) which looks like this:
    $TARGET_EMAIL = array(EMAIL_NAME."@sbcglobal\.net$");

    A simple example (or two) in the information would have saved me so much frustration—uploading, testing, changing the .php and the .html, uploading, testing, changing again, trying something else, cussing, kicking things, searching and reading the forum for why it's $#%@ not #$#%@ working...
    Last edited by 150mph-orig; 26-May-2010 at 05:40 AM.

  2. #2
    Join Date
    May 2008

    Default Re: New form installation - can't get it working


    The documentation on Tectite's site has a lot of good information that you might want to read. The following page has information specific to $TARGET_EMAIL, but you can search for any setting that you're not familiar with and you'll probably find an in-depth explanation:

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Applying formmail.php to an existing form (Not Working)
    By dommyboy in forum Community Support
    Replies: 15
    Last Post: 04-Mar-2006, 06:29 PM
  2. Installation/Configuration Warnings
    By sebestyen in forum FormMail Subscription Support
    Replies: 2
    Last Post: 08-Oct-2004, 02:36 PM


Posting Permissions

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