AbanteCart Community

Shopping Cart Operations => Support => Topic started by: timlight10 on March 30, 2021, 09:57:43 PM

Title: Add support for G-Mail "+" Addressing
Post by: timlight10 on March 30, 2021, 09:57:43 PM
Hi, is there a way to add support for G-Mail addresses with + signs in them? This is a valid use of G-MAil addresses and is very helpful for filtering, etc..

For example, if my e-mail is my.email@gmail.com, I can use my.email+abantecart@gmail.com, my.email+junk@gmail.com, etc... All e-mails will actually be delivered to my.email@gmail.com

However, if you enter one of these "+" addresses into Abantecart, you get an error message back:
Quote
App Error E-Mail Address does not appear to be valid!
Title: Re: Add support for G-Mail "+" Addressing
Post by: abolabo on April 01, 2021, 06:50:55 AM
you can change regex pattern and add + sign in this line

https://github.com/abantecart/abantecart-src/blob/master/public_html/core/init.php#L71