Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tough problem w/ cfmail

Status
Not open for further replies.

MarcDePoe

Programmer
Dec 19, 2000
101
US
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=&quot;Content-Type&quot; value=&quot;multipart/alternative&quot;>

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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top