There are a number of different formats you might use, but you'll have to
test them to see if they work on the particular SMTP server you use for
outgoing CFMAIL.  Be careful if you or your hosting provider changes
servers, it could break outgoing mail.

I've found the following format works with several SMTP servers, including
Microsoft IIS 4 SMTP, Rockliffe MailSite, and Sendmain on Linux.  The full
name must be listed second and must be separated by a space from the email
address.

<cfmail from="[EMAIL PROTECTED] (The System Administrator)"
        to="#email_address# (#full_name#)"
        subject="Whatever">
Your message.
</cfmail>

I'm guessing that the number of to:, cc:, bcc: addresses is also dependant
on the SMTP server.  The limitation is many not be in the number of
addresses, but more likely in the length of the fields.

Jim


----- Original Message -----
From: "Redd Liao" <[EMAIL PROTECTED]>
To: "CF-Server" <[EMAIL PROTECTED]>
Sent: Friday, March 23, 2001 12:58 PM
Subject: CFMAIL


> hi,
>
> 1. How can I also put name in front of e-mail address in header?
>     like:  Redd < [EMAIL PROTECTED] >
> 2. How many e-mail address i can put in "To" , "CC" and "bcc"?
> Thanks in advance!
>
> Redd


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to