210
Developing Web Applications with ColdFusion
Company Name: #Company#
Contact: #FirstName# #LastName#
Address:
#Address1#
#Address2#
#City#, #State# #Zip#
Phone: #Phone#
Fax: #Fax#
Home Page: #HomePageURL#
Please let us know if any of the above
information has changed, or if we need to
get in touch with someone else in your
organization regarding this request.
Thanks,
Allaire Customer Service
[email protected]
</CFMAIL>
Note that in the TO attribute of CFMAIL, the #Email# query column causes one
message to be sent to the address listed in each row of the query. Also note the use of
the other query columns (FirstName, LastName, etc.) within the CFMAIL section to
customize the contents of the message for each recipient.
Attaching a MIME file
You use the CFMAILPARAM tag to attach a file or add a header to a mail message. In
the following example, a MIME-encoded file is sent along with an email message:
<CFMAIL FROM="[email protected]"
TO="[email protected]"
SUBJECT="File you requested"
>
Dear Bob,
Here is a copy of the file you requested.
Regards,
A. Beech
<CFMAILPARAM FILE="c:\photos\asdl_photo.jpg">
</CFMAIL>
Содержание COLDFUSION 4.5-DEVELOPING WEB
Страница 1: ...Allaire Corporation Developing Web Applications with ColdFusion ColdFusion 4 5...
Страница 14: ...xiv Developing Web Applications with ColdFusion...
Страница 26: ...xxvi Developing Web Applications with ColdFusion...
Страница 34: ...8 Developing Web Applications with ColdFusion...
Страница 70: ...44 Developing Web Applications with ColdFusion...
Страница 84: ...58 Developing Web Applications with ColdFusion...
Страница 114: ...88 Developing Web Applications with ColdFusion...
Страница 148: ...122 Developing Web Applications with ColdFusion...
Страница 174: ...148 Developing Web Applications with ColdFusion...
Страница 208: ...182 Developing Web Applications with ColdFusion...
Страница 244: ...218 Developing Web Applications with ColdFusion...
Страница 274: ...248 Developing Web Applications with ColdFusion...
Страница 288: ...262 Developing Web Applications with ColdFusion...
Страница 300: ...274 Developing Web Applications with ColdFusion...
Страница 350: ...324 Developing Web Applications with ColdFusion...
Страница 362: ...336 Developing Web Applications with ColdFusion...