I've seen this on other sites - where people are asked to put their email down twice, and if the email doesn't have the correct format (such as .cm instead of .com) it tells the person (politely) to fix it.
I've hunted for extensions on "email verification" or "email check" but all I find are ones that send a verification email to you and you then click on it in your email program. While this is the best way to verify that an email is more or less correct, it doesn't help folks that can barely use a computer as a number of my clients (and yours too I'm sure) don't want the hassle and just go looking elsewhere.
So, I'm looking for a basic email checker that doesn't send the buyer off the checkout page and require them to figure out what is needed to just complete the friggin' order!
I've had a few people provide emails that are invalid (usually a typo) and want to avoid loosing their business...
Thanks!
John :-#)#
jrr wrote: ↑Wed Sep 10, 2025 1:59 amI've seen this on other sites - where people are asked to put their email down twice, and if the email doesn't have the correct format (such as .cm instead of .com) it tells the person (politely) to fix it.
I've hunted for extensions on "email verification" or "email check" but all I find are ones that send a verification email to you and you then click on it in your email program. While this is the best way to verify that an email is more or less correct, it doesn't help folks that can barely use a computer as a number of my clients (and yours too I'm sure) don't want the hassle and just go looking elsewhere.
So, I'm looking for a basic email checker that doesn't send the buyer off the checkout page and require them to figure out what is needed to just complete the friggin' order!
I've had a few people provide emails that are invalid (usually a typo) and want to avoid loosing their business...
Thanks!
John :-#)#
Code: Select all
// validate email address
if (!empty($this->request->post['email'])) {
if (!filter_var($this->request->post['email'], FILTER_VALIDATE_EMAIL)) {
$this->error['email'] = $this->language->get('error_email');
} else {
// check email domain
$emailArray = explode('@', $this->request->post['email']);
if (!checkdnsrr($emailArray[1], "MX"))
$this->error['email'] = $this->language->get('error_email');
}
} else {
$this->error['email'] = $this->language->get('error_email');
}
Who is online
Users browsing this forum: No registered users and 9 guests