Post by Jacob » Sun Jan 11, 2009 7:12 pm

Hi,

I have done a quick Internet search to learn about validating email addresses.  And I tested the OpenCart  email contact form to see what gets through.

Step 1

smith@smith = 'not valid', meaning Syntax = Fails.

Step 2

smith@smith.com = 'valid' meaning DNS = Passes.

DNS checking is good but miss spelled emails still get through as 'valid' this could mean that I get an enquiry that I am not able to reply to, possible  resulting in lose of custom.

I read that SMTP validation will stop this from happening in most cases 'This method uses the SMTP protocol to contact the domain mailserver and actually ask if the user is valid'.

I think my conclusions are correct but someone my like to confirm.

Question :

Is the form configurable so that it tests the SMTP ? and if so how  ;D

Thanks again

Running v1.5.5.1


Active Member

Posts

Joined
Thu Dec 04, 2008 9:17 pm

Post by hm2k » Sun Jan 11, 2009 7:47 pm

http://www.hm2k.com/posts/what-is-a-valid-email-address

I'm not sure you need anything more than a syntax check, so long as it looks like a genuine email address it should be sufficient.

SMTP checks can be over kill and can cause more issues and complications.

Is there any reason why you are looking to impliment this feature?

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK

Post by Jacob » Sun Jan 11, 2009 8:00 pm

Hi,

Thanks for your reply, I don't know much about it really. I am concearned that if a customer miss spells their email add whilst try to contact the shop I wont be able to reply.

This has happened before.

Running v1.5.5.1


Active Member

Posts

Joined
Thu Dec 04, 2008 9:17 pm

Post by hm2k » Sun Jan 11, 2009 8:40 pm

A better solution would be to get the user to repeat their email address in another field, and check that both match.

They are unlikely to make a mistake twice.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK

Post by Jacob » Sun Jan 11, 2009 8:45 pm

Thanks, and even I could create another field.  :)

Running v1.5.5.1


Active Member

Posts

Joined
Thu Dec 04, 2008 9:17 pm

Post by Jacob » Sun Jan 11, 2009 8:56 pm

How could I add a subject field that shows up when I receive the mail?

Running v1.5.5.1


Active Member

Posts

Joined
Thu Dec 04, 2008 9:17 pm

Post by hm2k » Mon Jan 12, 2009 6:44 pm

What sorry? This question seems unrelated to this thread.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK

Post by Jacob » Mon Jan 12, 2009 6:46 pm

Ah yes, I will check the forum then re post if not solved.

Running v1.5.5.1


Active Member

Posts

Joined
Thu Dec 04, 2008 9:17 pm
Who is online

Users browsing this forum: No registered users and 4 guests