In the checkout process , the email address is not correctly verified
If @ is missing the error message is correctly displayed and we can't continue the checkout process
But the extension ( .fr or .com) is not verified and we can continue the checkout process without any mail extensions
The email address should be correctly verified
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots or screen recordings to help explain your problem.
ping @hibatallahAouadni I think this issue can be added in an epic with this two one :
As discussed in Slack, I believe 1.7.6.9 behavior is faulty while 1.7.7.0 behavior is correct
According to https://en.wikipedia.org/wiki/Email_address the email address demo@prestashop is valid. It should not be rejected by PrestaShop.
As discussed in Slack, I believe 1.7.6.9 behavior is faulty while 1.7.7.0 behavior is correct
According to https://en.wikipedia.org/wiki/Email_address the email address demo@prestashop is valid. It should not be rejected by PrestaShop.
@matks I think Prestashop mail validation rules must be compatible with swiftmailer RFC validations to avoid :
PHP Fatal error: Uncaught exception 'Swift_RfcComplianceException' with message 'Address in mailbox given [[email protected]] does not comply with RFC 2822,
Ex.: [email protected]
| | validators | status | note |
|:----------:|-------------|:------:| ------|
| Pretashop | Validate::isEmail() | :heavy_check_mark: | Customers can register and log in
| Swiftmailer | https://github.com/egulias/EmailValidator#getting-started | ❌ | Customers cannot receive any prestashop mail
@PululuK it will be the case in 1.7.7.0 https://github.com/PrestaShop/PrestaShop/blob/1.7.7.x/classes/Validate.php#L62
@PululuK it will be the case in 1.7.7.0 https://github.com/PrestaShop/PrestaShop/blob/1.7.7.x/classes/Validate.php#L62
So incredible you are @atomiix ✌🏾
As specified above this is the wanted behavior, so I close this issue
Most helpful comment
So incredible you are @atomiix ✌🏾