You mean getting firstname from a database and sending it in an email?

That's pretty simple, something like this:

<cfquery name="getUser"....>
SELECT firstname 
FROM users
Where id = 1
</cfquery>


<cfmail ....>
Dear #getUser.firstname#,

Blah blah blah
</cfmail>

______________________
steve oliver
cresco technologies, inc.
http://www.crescotech.com


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 23, 2002 11:47 PM
To: CF-Talk
Subject: How to make 'FIRSTNAME' appear as 'Firstname' - i.e. sentence
case


Hi, does anyone know how to make FIRSTNAME from a database appear as
Firstname for the purpose of sending emails to customers.

It would look weird sending emails as:

Dear FIRST NAME,

So I'm finding it a challnge to format this properly as:

Dear Firstname

Appreciate any help.

Thanks,
Pardee.

______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to