I need to send out an email via cfmail with an attachment
AND send both an html and text version of the message.
I'm using CF 4.5
<cfmailparam name="Content-Type" value="multipart/alternative">
works fine if I don't include an attachment.
For some reason, when using MIMEATTACH= in the cfmail tag OR cfmailparam file= ,
it won't nest a mulitpart/alternative inside of the multipart/mixed, it just puts a text/plain inside the multipart/mixed ... NO MATTER WHAT!
If I can build the attach information myself I could accomplish what I need, but I don't know how to determine the content type of the attached file on the fly.
Anyone know how to do that, or know another way?
AND send both an html and text version of the message.
I'm using CF 4.5
<cfmailparam name="Content-Type" value="multipart/alternative">
works fine if I don't include an attachment.
For some reason, when using MIMEATTACH= in the cfmail tag OR cfmailparam file= ,
it won't nest a mulitpart/alternative inside of the multipart/mixed, it just puts a text/plain inside the multipart/mixed ... NO MATTER WHAT!
If I can build the attach information myself I could accomplish what I need, but I don't know how to determine the content type of the attached file on the fly.
Anyone know how to do that, or know another way?