Results 1 to 6 of 6

Thread: Underscore in EMAIL Error

  1. #1
    Join Date
    Apr 2006
    Posts
    4

    Default Underscore in EMAIL Error

    Hi, im not sure if this has been posted but the reason for some of the no valid recip errors is that users of mine have been entering emails with underscore in them..

    eg. fred_jones@hotmail.com

    formmail spits out an error. Is there a fix or solution to this?

    Thanks Guys.. Great work..

  2. #2
    Join Date
    Jul 2005
    Posts
    175

    Default Re: Underscore in EMAIL Error

    em, strange.. till yet I never had such a problem, as well as formmail shouldn't have one, too
    do you are using a condition for email validation?

  3. #3
    Join Date
    Apr 2006
    Posts
    4

    Default Re: Underscore in EMAIL Error

    i am, but even when i disabled form validation there error seems to be at the formmail side.

    its the recipient email..

    I'll think i'll try some thing out.. i just thought of something.. i'll keep u posted.

  4. #4
    Join Date
    Apr 2006
    Posts
    4

    Default Re: Underscore in EMAIL Error

    Hi guys back again,

    the bcc and recipient fields wont accept any email with an underscore. I've confirmed this.

    Is there any way around it. It keeps sayings its an invalid email.

    Thanks guys

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

    Default Re: Underscore in EMAIL Error

    you need to adjust the setting called "EMAIL_NAME":

    PHP Code:
    define("EMAIL_NAME","^[-a-z0-9.]+"); 
    becomes
    PHP Code:
     define("EMAIL_NAME","^[-a-z0-9._]+"); 

  6. #6
    Join Date
    Apr 2006
    Posts
    4

    Default Re: Underscore in EMAIL Error

    thanks mate. yeah i kinda figured it out when i was reading through the script.

    Thanks for the heads up.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Autorespond error [email]
    By jalea148 in forum Community Support
    Replies: 2
    Last Post: 02-Oct-2006, 09:40 PM
  2. Error=Failed to send email [M94]
    By cma in forum Community Support
    Replies: 0
    Last Post: 23-Jun-2006, 05:09 AM
  3. Error=Failed to send email
    By curtmartell@westvancouver in forum Community Support
    Replies: 1
    Last Post: 29-Mar-2006, 04:16 PM
  4. Error=Failed to send email
    By patrickfindlay in forum FormMail Subscription Support
    Replies: 19
    Last Post: 07-Nov-2005, 02:25 AM
  5. Error=Failed to send email [M94]
    By colinjack in forum FormMail Subscription Support
    Replies: 21
    Last Post: 26-Jul-2005, 11:23 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
  •