Search The ForumSearch   RegisterRegister  LoginLogin

MailBee Objects

 AfterLogic Forum : MailBee Objects
Subject Topic: Details about ValidateEmailAddres Method Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
VTsoftware
Newbie
Newbie


Joined: 17 May 2016
Online Status: Offline
Posts: 9
Posted: 17 May 2016 at 11:38am | IP Logged Quote VTsoftware

Hi - great product!

Regarding the ValidateEmailAddress method in MailBee object -

1. If executed with the CheckDomain flag = 1, I would like to know if the method does its own syntax check first, and only does the domain check if the address passes the syntax check? [Wondering if we ought to do a syntax check first before trying the domain check...]

2. Documentation says: "The method checks email address syntax and optionally performs simple DNS query to check whether email address domain (the part after "@" symbol) is a valid email domain."

Can you provide more information about this simple DNS query with respect to "valid email domain"? Are you checking that an email server exists at that domain, or that the domain itself exists?

Thanks.
Back to Top View VTsoftware's Profile Search for other posts by VTsoftware
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2179
Posted: 17 May 2016 at 3:31pm | IP Logged Quote Alex

Hi,

1. It won't do domain check if syntax check fails.

2. It makes DNS MX query to find out MX records for the given domain. If this query succeeds, the domain is considered to be valid.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide