Results 1 to 2 of 2

Thread: Invalid Email

  1. #1
    Join Date
    Jun 2010

    Default Invalid Email


    I've got Formail working ok but have a problem with the following error:

    The following error occurred in FormMail :
    Invalid email addresses were specified in the form :

    I think I have set up TARGET_EMAIL correctly in the script and recepients in the form but it seems it fails with a hyphen in the domain.

    Can anyone help, below is the relevant snippets from the script and my form:

    $TARGET_EMAIL = array(

    <p> <span class="asterix">
    <input name="recipients" type="hidden" id="recipients" value="," />
    <input name="subject" type="hidden" id="subject" value="Beesafe Enquiry" />
    <input name="env_report" type="hidden" id="env_report" value="REMOTE_HOST,REMOTE_ADDR,REMOTE_USER,HTTP_USER_AGENT" />
    <input name="mail_options" type="hidden" id="mail_options" value="KeepLines,Exclude=realname;email;Submit;Reset;redirect,HTMLTemplate=/fmtemplates/enquiry.htm" />
    <input name="required" type="hidden" id="required" value="realname,email,CompanyName,PhoneNo,Enquiry" />
    <input name="derive_fields" type="hidden" id="derive_fields" value="email = EmailAddress, realname = Name" />
    <input name="good_template" type="hidden" id="good_template" value="/fmtemplates/thankstemplate.htm" />
    <input type="hidden" name="autorespond" value="PlainFile=emailconf.txt, Subject=Beesafe Enquiry" />

  2. #2
    Join Date
    Mar 2004

    Default Re: Invalid Email

    this is wot u wnat:

    PHP Code:
    $TARGET_EMAIL = array(

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Error Message - invalid method (HTTP verb)
    By annabellereedy in forum Community Support
    Replies: 0
    Last Post: 05-Nov-2007, 04:38 AM
  2. Invalid "conditions" field "conditions" - not a string or array
    By markalexandrov in forum FormMail Subscription Support
    Replies: 40
    Last Post: 26-Feb-2006, 11:46 PM
  3. invalid recipients????
    By digitalrain in forum FormMail Subscription Support
    Replies: 4
    Last Post: 16-Dec-2005, 11:59 PM
  4. Error "derive_fields specifications are invalid "
    By Mystic_Bovine in forum FormMail Subscription Support
    Replies: 6
    Last Post: 29-Aug-2005, 08:50 PM
  5. Invalid PHP pages creating duplicate content
    By treborito in forum FormMail Subscription Support
    Replies: 2
    Last Post: 12-Jul-2005, 03:38 AM


Posting Permissions

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