isValid("email", emailaddr) will tell you if it's a correctly formed email
address, but not if it actually exists. 

This udf will check that a mailbox exists. Haven't tried it myself yet:

http://cflib.org/udf/verifyEmail

-----Original Message-----
From: alex poyaoan [mailto:ap.cli...@tiscali.it] 
Sent: 12 May 2009 09:15
To: cf-talk
Subject: cfmail validation


HI everybody am using cfmail with the code below.. my problem is with the
query that get's all email addresses. If an email address is valid it goes
if at one point emailaddress is not valid it gives an error. is there a way
with my code to test valid email addresses or better then if there is a way
that i could check which emails just went thru or not?

<CFPROCESSINGDIRECTIVE SUPPRESSWHITESPACE="NO">
<CFMAIL QUERY="GetList"
                SERVER="cbox.cbox.org" 
                SUBJECT="subject"
                FROM="""press service"" <i...@info.org>"
                TO="""#Trim(Name)# #Trim(Fname)#"" <#Trim(emailaddr)#>"
                TYPE="HTML"  >          

<cfinclude template="pubSSMailDesign.cfm"> </CFMAIL>
</CFPROCESSINGDIRECTIVE>  

thanks for any help 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322408
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to