This worked for me

<cfmail to="em...@email" from="em...@email" subject="mime test">
<cfmailparam file="filetoattach" />
<cfmailparam file="imagefile" contentid="image" />
<cfmailpart type="text/html">
        <img src="cid:image" />
</cfmailpart>
</cfmail> 

-----Original Message-----
From: randzman [mailto:randz...@verizon.net] 
Sent: Wednesday, 22 July 2009 9:02 AM
To: cfaussie
Subject: [cfaussie] Attached vs. embedded (cfmail, multipart/mixed,
attachments, embedded image)


I want to send a mail which has a PDF attachment and an embedded
image. When I send them both with cfmailparam (with correct
disposition) they arrive in the email as attachments in the body...you
don't get the little email paperclip attachment icon.

When I tried using mimeattach for the PDF it did work!...but the image
denoted with cfmailparam also came through like that. So I looked the
email headers of both and the good one was Content-Type: multipart/
mixed; while the bad one was "multipart/related".

So how can I make cfmailparam send it as multipart/mixed? (if that's
even the right question...maybe I should stick with mimeattach and do
something else?)

Thanks Folks' - Randy



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to