Adobe Community
All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
ShowÂ
 onlyÂ
|
Search instead forÂ
Did you mean:Â
Global community
Language:
Deutsch
English
Español
Français
Português
日本語コミュニティ
Dedicated community for Japanese speakers
í•œêµ ì»¤ë®¤ë‹ˆí‹°
Dedicated community for Korean speakers
Sign In
Exit
Home
ColdFusion
Discussions
cfmailparam problem
Home
ColdFusion
Discussions
cfmailparam problem
0
Upvote
cfmailparam problem
kel45
New Here
,
/t5/coldfusion-discussions/cfmailparam-problem/td-p/693376
Feb 17, 2009
Feb 17, 2009
Copy link to clipboard
Copied
Hi i am getting a problem using
<cfmailparam file = "C:\Inetpub\wwwroot\#newinvoice#.pdf" type="PDF">
inside a cfmail, the emails being received have a attachement of .dat not .pdf
any ideas why this is?
TOPICS
Advanced techniques
Views
562
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
3 Replies
3
Jump to latest reply
Daverms
Advocate
,
/t5/coldfusion-discussions/cfmailparam-problem/m-p/693377#M65132
Feb 17, 2009
Feb 17, 2009
Copy link to clipboard
Copied
Hi,
Have you placed your <cfmail> <cfmailparam> tags inside <cfoutput> </cfoutput> blocks?..
HTH
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Newsgroup_User
LEGEND
,
/t5/coldfusion-discussions/cfmailparam-problem/m-p/693378#M65133
Feb 17, 2009
Feb 17, 2009
Copy link to clipboard
Copied
type="PDF" is not correct. you must specify correct MIME type of the
file, i.e. type="application/pdf"
also double-check your #newinvoice# variable does not alredy contain
file extension.
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Newsgroup_User
LEGEND
,
/t5/coldfusion-discussions/cfmailparam-problem/m-p/693379#M65134
Feb 17, 2009
Feb 17, 2009
Copy link to clipboard
Copied
LATEST
kel45 wrote:
> Hi i am getting a problem using
> <cfmailparam file = "C:\Inetpub\wwwroot\#newinvoice#.pdf" type="PDF">
Type is the mime type of the file:
<cfmailparam file = "C:\Inetpub\wwwroot\#newinvoice#.pdf"
type="application/pdf">
--
Mack
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Post Reply
Preview
Exit Preview
never-displayed
You must be signed in to add attachments
never-displayed
Â
Resources
Documentation
ColdFusion User Guide