CFML Reference
------------------------------------------------------------------------
--------
ColdFusion Tags
cfmailparam
Description
Can either attach a file or add a header to a message. It is nested
within a cfmail tag. You can use more than one cfmailparam tag within a
cfmail tag.
Category
Internet Protocol tags
Syntax
<cfmail
to = "recipient"
subject = "msg_subject"
from = "sender"
...more attibutes... >
<cfmailparam
file = "file-name" >
or
<cfmailparam
name = "header-name"
value = "header-value" >
...
</cfmail>
See also
cfftp, cfhttp, cfldap, cfmail, cfpop
Attributes
Attribute Description
file
Required if you do not specify the name attribute. Attaches the
specified file to the message. This attribute is mutually exclusive with
the name attribute.
name
Required if you do not specify the file attribute. Specifies the name
of the header. Header names are case insensitive. This attribute is
mutually exclusive with the file attribute.
value
Optional. Indicates the value of the header.
Example
<!--- This example shows the use of cfmailparam --->
<html>
<head>
<title>cfmailparam Example</title>
</head>
<body>
<H3>cfmailparam Example</H3>
<P>
This example uses cfmailparam to attach two files and add a
header to a message.
</P>
<cfmail from = "[EMAIL PROTECTED]" To = "[EMAIL PROTECTED]"
Subject = "See Important Attachments and Reply">
<cfmailparam name = "Reply-To" value = "[EMAIL PROTECTED]">
Please read the text file and view the new logo, and let us know what
you think.
<cfmailparam file = "c:\work\readme.txt">
<cfmailparam file = "c:\work\logo.gif">
</cfmail>
</body>
</html>
Copyright C 2001, Macromedia Inc. All rights reserved.
Comments
-----Original Message-----
From: Sridhar Pedamallu
[mailto:[EMAIL PROTECTED]]
Sent: 09 September 2002 15:06
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] Multi language email
hi snake
Could you pls tell me how to use CFMailParam tag in this case.
regards
Sridhar
-----Original Message-----
From: Snake [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 01:40
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] Multi language email
I believe you need to set some extra headers on the email to allow
multi-language text. The the CFMAILPARAM tag
-----Original Message-----
From: Sridhar Pedamallu
[mailto:[EMAIL PROTECTED]]
Sent: 09 September 2002 13:12
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] Multi language email
The text stored in database is OK. I can even output it properly. Only
email having problem.
Sridhar
-----Original Message-----
From: Matt Horn [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 12:46
To: [EMAIL PROTECTED]
Subject: Re: [ cf-dev ] Multi language email
is the text ok in the database?
so it only gets junked when you query it out?
At 12:40 09/09/02 +0100, you wrote:
>My site will send mails in English, French and German. now i want to
>send mails in Greek also. but when i try sending Greek text which is
>stored in database, it is
sending
>some junk instead of Greek text.
>when i try sending the same text from my outlook i could send the
>correct text as mail. Has anyone any suggestions in this issue.
>
>Any assistance much appreciated.
>
>regards
>Sridhar
>
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] For
human help, e-mail: [EMAIL PROTECTED]
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] For
human help, e-mail: [EMAIL PROTECTED]
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] For
human help, e-mail: [EMAIL PROTECTED]
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] For
human help, e-mail: [EMAIL PROTECTED]
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]