Email "Not Valid" for registering customers.

I’ve never heard of this before but I had 2 customers tell me that they were trying to register at checkout yesterday and they got an “email not valid” message. One was a Gmail user while the other Yahoo. A few other customers did register yesterday and today so the registration process should be working. Nothing seemed odd about either email addresses that had the problem.



Having the site live for over a year now and never hearing anything like this is somewhat of a concern since it was 2 in one day. I haven’t changed anything on the site recently so not sure what could be causing it. Was it just a fluke that I had 2 people with the same problem yesterday? Or does the validation process use some resource on the server that could have been causing the issue?



Confused.

[quote name=‘IsItFast’]I’ve never heard of this before but I had 2 customers tell me that they were trying to register at checkout yesterday and they got an “email not valid” message. One was a Gmail user while the other Yahoo. A few other customers did register yesterday and today so the registration process should be working. Nothing seemed odd about either email addresses that had the problem.



Having the site live for over a year now and never hearing anything like this is somewhat of a concern since it was 2 in one day. I haven’t changed anything on the site recently so not sure what could be causing it. Was it just a fluke that I had 2 people with the same problem yesterday? Or does the validation process use some resource on the server that could have been causing the issue?



Confused.[/QUOTE]



Hello IsItFast,



The validation is in the following code:



email: function(email)
{
return /^([\w-+=_]+(?:\.[\w-+=_]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i.test(email) ? true : false;
},




in the “core.js” file, located in the “js” directory.



Most probably there are some disallowed characters in email addresses of your customers.



Thank you.

But this should used generally if a error appears for this customers for all cs-cart Admins.



IsItFast, can you post here the special characters what your customers has used?



thank you!