I wrote a little bit of code to display the ascii code for every character in the text - it appears that these chars aren't not printing, they're simply not there when retrieved from the imap server via CF.
<cfloop from="1" to="#Len(txtbody_orig)#" step="1" index="i"><cfoutput>#mid(txtbody_orig,i,1)##asc(mid(txtbody_orig,i,1))#|</cfoutput></cfloop> The message body is a java object of the Multipart class, and I use the getBodyPart() method of that class to retrieve the individual parts of the multipart message, and then the getContent() method to return the text or HTML... I can't figure out where those funky characters are being removed. Guess I'll save this for tomorrow. Maybe some late night warrior out there will have some ideas for me when I wake up :) Rick Root wrote: > I've got an email in my inbox that Mozilla renders just fine, but it > doesn't render properly in my webmail app. > > When I view the source of the message in thunderbird, it looks like this: > > Dear Rick Root:=0D=0DWelcome to SomeFake = > Financial Online! With SomeFake Financial Online, you=0Dcan view all = > of your important mortgage account information any time that is = > convenient=0Dfor you, day or night! You can also make one-time = > payments, set up an automated=0Dpayment program, and update your account = > information all via our web site.=0D=0DEver get tired of waiting for = > > > Note the "=0D" bits scattered throughout... and the = sign at the end of > each line. > > In Thunderbird, the = sign don't appear, and the =0D renders as a line > break. > > In my webmail app they don't seem to render at all... because it's a > text email I wrap it in a <pre> tag, and the whole thing prints on one > line without a linebreak. > > I'm not sure what those chars are. > > Any one got any ideas? > > Rick > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262165 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

