Your code works alright. FYI it looks perfect in Outlook Express, but the text ver that displays in my web mail has the funky string at the end.
That string is the result of CFMX/CFMAIL inserting its own boundary, which it formerly did only on msgs using the MIMEATTACH parm. The body of your message gets received like what I snipped out and pasted in below (this is the msg without all of the headers). The string you see at the end of text messages is CF's trailing, self-generated boundary string showing up in the message text. Looks like I need to do a CF version test, and do a special CFMX-specific mail component. Bah humbug.. FYI I noticed cfmail now finally inserts its own message-id header, so I can at least skip that cfmailparam. --Matt-- ------=_Part_28_3430385.1038559241357 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --ContentBoundary Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit this is a test this is only a test --ContentBoundary Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <p>This is a test</p> <p>This is only a test</p> --ContentBoundary-- ------=_Part_28_3430385.1038559241357-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.