View Full Version : Underscore in EMAIL Error
SoKki
25-Apr-2006, 05:27 AM
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..
asket
25-Apr-2006, 07:48 AM
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?
SoKki
25-Apr-2006, 12:39 PM
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.
SoKki
10-May-2006, 01:17 AM
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
crabtree
10-May-2006, 02:13 AM
you need to adjust the setting called "EMAIL_NAME":
define("EMAIL_NAME","^[-a-z0-9.]+");
becomes
define("EMAIL_NAME","^[-a-z0-9._]+");
SoKki
10-May-2006, 08:48 AM
thanks mate. yeah i kinda figured it out when i was reading through the script.
Thanks for the heads up.
Powered by vBulletin® Version 4.1.4 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.