Email Verifier PRO extends its technology and may be easily attached to your web forms and may work either as an independent script or to transfer all data to/from your scripts and/or programs for further processing. This solution is ideal for Webmasters, site owners and site administrators who appreciate every client and wish to have more functionality in their web form’s processing capabilities.
This simple ASP script can be used to verify a validity of entered email assuming that "txtEMail" is the name of email Input field on your Web form.
<%
Dim Ver
Set Ver=Server.CreateObject("LNFEV.Verifier")
Dim id
Ver.Timeout=40
'Ver.UseProxy=true 'If You have proxy Server You have to specify it
'Ver.ProxyAddress="127.0.0.1"'
'Ver.ProxyPort=1080
Response.Write "Verified address:"
Response.Write Request.Form("txtEMail")
id=Ver.VerifyEmail(Request.Form("txtEMail"))
Response.Write Ver.GetLog(id) & "<br>" 'prints full log
Response.Write Ver.GetResult(id) & "<br>" ' returns result number
if Ver.GetResult(id) = 1 then Response.Write "Email is correct"
Set Ver=Nothing
%>
Results codes table
Members
Description
BadSyntax
Means that syntax of the email address is incorect. Its value is 0.
EddressExists
Means that email address is valid. Its value is 1.
noSMTPSrv
Means that no SMTP server exists for the email address domain. Its value is 2.
NoMailbox
Means that no mailbox exists for the email address. Its value is 3.
busyMailbox
Means that mailbox exists but it is temporarely unavailable. Its value is 4.
Unknown
Means that result of the verification is unknown. Such result appear if internet services not function properly. Its value is 5.
Unverified
Means that verification is not finished. Its value is 6.
Broken
Means that verification process was broken by timeout.