Products XComp (Free) Press Releases |
InaEmailCheck Frequently Asked Questions (FAQ)How do I contact Inabyte Inc? Whats in the evaluation version of InaEmailCheck? The evaluation version of InaEmailCheck is a full version of the product that expires 30 days after installation. What does the InaEmailCheck control do? The InaEmailCheck control can verify an email address or a mail domain. The control checks syntax, mail domain, mail servers and finally mailbox (user). Some mail servers restrict the validation of users and so these addresses cannot be validated without actually sending an email to the address. InaEmailCheck returns a warning for these servers. Generally if InaEmailCheck returns less than 0, the email address is bad. How do I create an InaEmailCheck control in an application? Visual Basic: To add the InaEmailCheck control to your project, select Project | References... Select InaEmailCheck from the list. Dim obLookup As InaEmailCheck Set obLookup = CreateObject("Inabyte.InaEmailCheck") If obLookup Is Nothing Then Visual C++: To add the InaEmailCheck control to your project use the #import directive in stdafx.h. #import "InaEmailCheck.dll" no_namespace Then use IInaEmailCheckPtr pLookup; hResult = pLookup.CreateInstance("Inabyte.InaEmailCheck"); if (hResult == S_OK) How do I validate an email address? Validating email addressed can be done in one simple call to the InaEmailCheck control: Visual Basic Dim eReturn As inaEmailCheckErrors eReturn = obLookup.Verify(strEmailAddress) Visual C++ inaEmailCheckErrors lErrorCode; lErrorCode = pLookup->Verify((LPCTSTR)csEmailAddress); Can I validate if a domain can except mail without having the email address checked? Yes. Validating mail servers can be done in one simple call to the InaEmailCheck control: Visual Basic If obLookup.Lookup(strDomain).Count < 1 Then Visual C++ If (pLookup->Lookup((LPCTSTR)m_Domain).Count < 1) Can I validate the syntax of an email address? Yes. Validating the syntax does not require any calls to a DNS server or mail server. The method is ValidateSyntax (please note that unlike the Verify/Lookup methods this strictly conforms to RFC821 and requires the email address start with a "<" and end with a ">"): Visual Basic If Left(strAddress, 1) <> "<" Then eReturn = obLookup.ValidateSyntax(strAddress) MsgBox "Syntax: " & obLookup.GetErrorString(eReturn) & ", ErrorCode " & Str(eReturn) Visual C++ CString cs; cs.Format(csDomain.Find('<') == 0 ? "%s" :
"<%s>", (LPCTSTR)csDomain); cs.Format("Syntax: %s, ErrorCode %ld", (LPCTSTR)pLookup->GetErrorString(lErrorCode), lErrorCode); What kind of licensing agreement do I need to distribute InaEmailCheck control? You are required to purchase a license in order to distribute applications that contain one or more InaEmailCheck controls. Without this license, the InaEmailCheck control is considered under evaluation. If you are writing web applications then additional server licenses would also be required. See below. What kind of licensing agreement do I need to run InaEmailCheck on a server? You are required to purchase a license in order to run InaEmailCheck on a server. Without this license, the InaEmailCheck control is considered under evaluation. One license per server is required. $249 per Developer is a license that everyone pays regardless of subsequent deployment. A 3 man team means 3 licenses. If the product is subsequently deployed on a Server Node/PC for Client Server or on a Web Server Node/PC you need to buy a $249 license per node. A 10 node web site with the component on 6 of the nodes requires 6 licenses to be purchased. What do the error numbers mean? InaEmailCheck provides an error number for each email address validation. This simply means total success, a warning or no good. eSuccess = 0 eWarning_DNSNameConnect = 1 Domain Name Good, No further response from DNS eError_Empty = -1 Email address emtpy (no further checking done) Generally if InaEmailCheck returns less than 0, the email address is bad. How do I contact Inabyte Inc.?
Samples Provided See what InaEmailCheck can do for you. Download InaEmailCheck and its samples (MFC, VB, J++ and ASP) and see its capabilities |
|