home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 February / CHIPCD_02_2002.iso / Internet / Macromedia ColdFusion Server 5 / coldfusion-50-win-us.exe / data1.cab / Examples / CFDOCS / snippets / cfmailparam.cfm < prev    next >
Encoding:
Text File  |  2001-06-13  |  1.1 KB  |  29 lines

  1.  
  2. !--- This example shows the use of CFMAILPARAM --->
  3. <HTML>
  4. <HEAD>
  5. <TITLE>CFMAILPARAM Example</TITLE>
  6. </HEAD>
  7.  
  8. <BASEFONT FACE="Arial, Helvetica" SIZE=2>
  9. <BODY  bgcolor="#FFFFD5">
  10.  
  11. <H3>CFMAILPARAM Example</H3>
  12.  
  13. <P>
  14. This read-only example uses CFMAILPARAM to attach two files and add a header to a message. 
  15. Note that you must specify the server for sending dynamic SMTP mail messages in the 
  16. ColdFuion Administrator before you can send mail. This can be an Internet address 
  17. (e.g., mail.<i>company-name</i>.com) or the IP address of the mail server (e.g., 127.0.0.1). 
  18. </P>
  19. <!-------------------------------------------------------------------------------
  20. <CFMAIL FROM="mnorvath@allaire.com" To="msandstrom@allaire.com" Subject="See Important Attachments and Reply">
  21.     <CFMAILPARAM NAME="Reply-To" VALUE="mnorvath@allaire.com">
  22.     Please read the text file and view the new logo, and let us know what 
  23.     you think.
  24.     <CFMAILPARAM FILE="c:\work\readme.txt">
  25.     <CFMAILPARAM FILE="c:\work\logo.gif"> 
  26. </CFMAIL>
  27. ------------------------------------------------------------------------------->
  28. </BODY>
  29. </HTML>