Results 1 to 3 of 3

Thread: all tld's accepted

  1. #1
    Join Date
    Feb 2006

    Default all tld's accepted

    I was wondering if someone knows whether all TLD's are accepted, including the new four character (.name, .info etc.) and 'double' country tld's (such as and

    The reason I am asking is that I cannot get formmail to work, and none of the domains and emails I am using are of the usual .com type. What I have is along the lines of,,, and I cannot get it to work with any of them. I can't think of anything else that might be wrong.

    For the sake of completeness, here is the code of the html test form:
    <!-- STEP 1: Put the full URL to formmail.php on your website in the 'action' value. -->
    <form method="post" action="" name="SampleForm">
    <input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER">
    <!-- STEP 2: Put your email address in the 'recipients' value.
    Note that you also have to allow this email address in the
    $TARGET_EMAIL setting within formmail.php!

    <input type="hidden" name="recipients" value="" />
    <!-- STEP 3: Specify required fields in the 'required' value -->
    <input type="hidden" name="required" value="email:Your email address,realname:Your name" />
    <!-- STEP 4: Put your subject line in the 'subject' value. -->
    <input type="hidden" name="subject" value="Sample FormMail Testing" />

    In the php code I have:
    $TARGET_EMAIL = array(EMAIL_NAME."^e.w#########a@g#########o\.info$");

    Sorry for the ### but I get enough spam as it is. What is hidden by those signs is correct and identical throughout because I used copy and paste from my Outlook email account options.

    The form result itself does not identify the error, but the error message I got by email is:

    Error=The form has an internal error - no valid recipients were specified.

    Since the recipients are set, in my understanding, by the above quoted lines, which as far as I can see are ok, it seems that a problem with the tld's is at least a possibility.

    Thanks in advance for any answer or suggestion!

  2. #2
    Join Date
    Jul 2005

    Default Re: all tld's accepted


    to get less spam use the "AT_MANGLE" feature (formmail.php line 2893)
    for detailed information search the forum where's already quite a lot depending to this topic or read in formmail.php

    for the "DEF_ALERT" setting try this
    PHP Code:
    you have forgotten the ""

    an adress like "" and so on should not be a problem
    but in formmail.php it has to be quoted like
    PHP Code:
    $TARGET_EMAIL = array("^e\.w###@g###o\.info$"); 
    always put a "\" before a "."

    Last edited by asket; 01-Feb-2006 at 05:58 PM.

  3. #3
    Join Date
    Feb 2006

    Default Re: all tld's accepted

    I think it works now, thanks!

Thread Information

Users Browsing this Thread

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


Posting Permissions

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