Yes. Works well. 
But have to switch it off when site's load is high.
Also in the UK sometimes doesn't work with BT Openworld.


If you want to try it, I would recommend to 
1. reduce timeout to minimum
2. increase number of threads to maximum
3. make sure email you have in "from" exists



Here's a bit of code:
(Result - 0 ok, 1 bad format, 2 dns error, 3 not exists, 4 unable to
check, 10 no email, -1 unknown )


<cfif not Len(attributes.email)>
        <!--- pre-check syntax --->
        <cfset variables.Result=10>
        <cfset variables.ResultString="Please enter e-mail address">
<cfelseif not
REFindNoCase("^[[:alnum:]_\.\-]+@([[:alnum:]_\.\-]+\.)+[[:alpha:]]{2,4}$
",attributes.email,1)>
        <!--- pre-check syntax --->
        <cfset variables.Result=1>
        <cfset variables.ResultString="Bad e-mail address">
<cfelseif attributes.advanced>
        <cftry>
        <cflock scope="session" type="exclusive" timeout="10"
throwontimeout="yes">
        <!--- advanced check --->
        <cfobject action="create" name="oAmv"
class="AdvancedMaillistVerify.EmailVerifier">
        <cfset oAmv.Email=attributes.email>
        <cfloop condition="oAmv.Status neq 3">
                <cfset oAmv.Sleep = 250>
        </cfloop>
        <cfset variables.Result=oAmv.Result>
        <cfset variables.ResultString=oAmv.ResultString>
        <cfset variables.Comment=oAmv.Comment>
        <cfset variables.Log=oAmv.Log>
        </cflock>
                <cfcatch type="any">
                        <cfset variables.Result=4>
                        <cfset variables.ResultString="">
                        <cfset variables.Comment="">
                        <cfset variables.Log="">
                </cfcatch>
        </cftry>
<cfelse>
        <!--- syntax ok and no advanced check --->
        <cfset variables.Result=0>
        <cfset variables.ResultString="">
        <cfset variables.Comment="">
        <cfset variables.Log="">
</cfif>

<!--- output variables to caller template --->




 
------------------------
Albert Popkov
i-CD Publishing (UK) Ltd
www.192.com 
[EMAIL PROTECTED]


> -----Original Message-----
> From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] 
> Sent: 07 October 2002 10:58
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] Testing emails
> 
> 
> 
> Albert
> 
> Have you used this? Does it work well?
> 
> 
> Thanks
> 
> -----Original Message-----
> From: Albert Popkov [mailto:[EMAIL PROTECTED]] 
> Sent: 07 October 2002 10:39
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] Testing emails
> 
> 
> http://www.mailutilities.com/amv/
> 
>  
> ---------------------------
> Albert Popkov
> 192.com 
> 
> 
> > -----Original Message-----
> > From: Taz -=TT=- [mailto:[EMAIL PROTECTED]]
> > Sent: 07 October 2002 10:07
> > To: [EMAIL PROTECTED]
> > Subject: Re: [ cf-dev ] Testing emails
> > 
> > 
> > Its impossible to test an email account without sending an
> > email (and more inportantly, recieving a reply)
> > 
> > You can check that the domain name is real, but thats your lot.
> > 
> > Taz
> > 
> > ----- Original Message -----
> > From: "Allan" <[EMAIL PROTECTED]>
> > To: "CF Mail" <[EMAIL PROTECTED]>
> > Sent: Monday, October 07, 2002 9:52 AM
> > Subject: [ cf-dev ] Testing emails
> > 
> > 
> > Wasn't there a custom tag that tested email addresses to see
> > if they are real or not. (Not the format but if they exist) 
> > Without the email account holder receiving an email.
> > 
> > I have searched the deveopers exchange with success.
> > 
> > Thanks
> > 
> > Allan
> > 
> > 
> > --
> > ** Archive: 
> http://www.mail-archive.com/dev%> 40lists.cfdeveloper.co.uk/
> > 
> 
> > To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED] For human help, e-mail: 
> > [EMAIL PROTECTED]
> > 
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to