This is a discussion on [Bug] Error on email address checking function within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hello, I just installed OSCMax, and I found an error regarding checks performed on email addresses. I tried to change ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hello, I just installed OSCMax, and I found an error regarding checks performed on email addresses. I tried to change the administrator email address, and I got the following error: "Email address format is invalid!" Now, my email address is something like j.smith@domain.com ("j" could be for "John"); error checking javascript performs the following check: [...] (adminEmail.indexOf("@") <= 1 || adminEmail.indexOf("@") >= (adminEmail.length - 3) || adminEmail.indexOf(".") < 3 || adminEmail.indexOf(".") >= (adminEmail.length - 2) || adminEmail.indexOf("@.") >= 0 ) { [...] On the third row there's an error. There are many email addresses having a dot as second characters (mine is an example), I think check should be performed as follows: [...] adminEmail.indexOf(".") < 1 || [...] I hope this could be of some help Daigo |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Want to change email address and password for admin | ozstar | osCMax v2 Installation issues | 5 | 04-22-2006 03:38 PM |
| Adding admin: Email address format invalid xxx.yyy@xxx.co.uk | JonMWilson | osCMax v2 Features Discussion | 3 | 01-09-2006 08:15 PM |
| PayPal email address error check in affiliate_signup | ganast | osCMax v2 Customization/Mods | 0 | 08-24-2005 08:51 AM |
| Fatal error: Call to undefined function: array_map() | Anonymous | osCMax v1.7 Discussion | 3 | 01-21-2004 12:38 PM |
| Send Email function for oscommerce | daybeauty | osCommerce 2.2 Modification Help | 2 | 07-17-2003 12:59 AM |