I have my SMTP properly configured when it comes to sending mails to real domains like xxxxx@gmail.com, but when someone enters unvalid email there is a JSON Exeption RCPT TO error and form freezes. Is there any simple way to catch this exeption and let customer enter valid email?
You cannot check emails inside OpenCart with the standard functions - because they do not exist.michciopro@gmail.com wrote: ↑Wed Jun 13, 2018 3:58 pmI have my SMTP properly configured when it comes to sending mails to real domains like xxxxx@gmail.com, but when someone enters unvalid email there is a JSON Exeption RCPT TO error and form freezes. Is there any simple way to catch this exeption and let customer enter valid email?
But I had similiar problems with fake and other email addresses in my shop.
Therefore I have made an extension which checks several attributes: validity, is known as spam, does domain and MX-Record exist.
And I can set to decline free email addresses (configurable).
Extension is available here: https://osworx.net/Security/OpenCart-Check-Email
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Who is online
Users browsing this forum: No registered users and 155 guests