You would have to cfexecute to something like pgp or gpg. But first the end user would need to install software, generate public/private keys and give you the public key. Not a very viable solution.
How about instead of generating the password at the time of account creation, leave it NULL, and in the initial email give them a link to access the a page on the over SSL. Once they click on the link, generate the password for them and display it on the SSL-protected page. -Ryan -------- Original Message -------- > From: Richard White <[EMAIL PROTECTED]> > Sent: Saturday, March 01, 2008 12:58 PM > To: CF-Talk <[email protected]> > Subject: email encryption > > Hi, > > we have a page where we add new users to our software. before it adds them to > the database it generates a random password for them, then we want it to send > them that password via an encrypted email. > > is this is the best way to do it, and if so then can you tell us how to > encrypt an email please. i can send an email fine but encrypting it is a > different story. > > we have to generate them a random password, as we generate the accounts > whilst the new users are not with us, and by emailing it to them it ensures > that we don't see their password. > > appreciate your thoughts and advice > > thanks > > richard ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300270 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

