Post by michciopro@gmail.com » Wed Jun 13, 2018 3:58 pm

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?


Posts

Joined
Fri Sep 08, 2017 4:03 pm

Post by OSWorX » Wed Jun 13, 2018 5:27 pm

michciopro@gmail.com wrote:
Wed Jun 13, 2018 3:58 pm
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.
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.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: No registered users and 155 guests