Assuming Active Directory is the LDAP server... Several options. 1. Send an email to the new user object. If it's Exchange, the mailbox will be created upon receipt of the first email message. 2. Log in to the mailbox. Upon first login, the mailbox is also created if it doesn't already exist because of #1. 3. Check for the existence of a "mail" attribute in Active Directory. 4. Check for the existence of a "homeMDB" attribute in Active Directory. If it's not AD, then you may still look for an attribute that holds some mail-server-related attribute. Also, you can try to log in to the LDAP server using the new object's credentials. If you can't get in, wait a bit and try again. You might need to run a scheduled task to check every so often. If I recall correctly, since cfmail doesn't tie into Exchange or a directory server, regardless if it's AD or not, you can put in any valid email address "syntax". The email address doesn't have to exist, it only has to look like a valid email address. However, if I'm wrong, then you should still be able to use one of those four methods I listed above. Not knowing your LDAP server, it's difficult to give a definite answer. M!ke
_____ From: [EMAIL PROTECTED] on behalf of Mark Ireland Sent: Mon 7/9/2007 6:28 PM To: cfcdev@cfczone.org Subject: [CFCDEV] cfLDAP and cfMail How can I test to see if a new ldap dn entry has successfully complete before I try to use that entry as the 'send to' address in cfMail? You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org