Registering/adding users with an apostrophe in their email address ([email protected])

Permalink
Hi is there a way that email addresses with an apostrophe in them can be allowed for adding or registering users? At the moment am getting an error message ... Invalid email address provided.

View Replies:
haysgeoff2 replied on at Permalink Reply
Did you sort this out? I am having the same issue.
JoWebb replied on at Permalink Reply
Did you have any success with this? Thanks
JoWebb replied on at Permalink Reply
Did you have any success with this? Thanks
xigo replied on at Permalink Reply
No, no success with this, can anyone assist?
mnakalay replied on at Permalink Reply
mnakalay
Hello,
C5 checks emails for validity using a list of allowed characters. the apostrophe is not one of them. My guess is that although apostrophes are technically allowed in emails, their support is limited with some email providers rejecting them.

If you really want to allow the use of emails than you need to create a modified version of the file ROOT/concrete/core/helpers/validation/string.php

Modify the regex in the function email allow apostrophes.