Samuel Farmer wrote: > > I am trying to send out a cfmail in multipart format and (sometimes) send an > attachment as well. Got the first part to work, but if I add a file to the > mimeAttach attribute I get the file but the email formating is lost. Any > ideas/solutions?
Headers mix-up. Attachments require multipart/mixed, HTML + text requires multipart/alternative. So if you need them both, you got to nest one inside the other. For an implementation that can do that, see http://jochem.vandieten.net/coldfusion/customtags/advancedemail/ Requires cffile, CF MX not supported. Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

