The code I sent you via this forum is actual working production code that we use in many places daily. Maybe the difference can be with character sets?
Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. NUGROHO NOTO wrote: > Hi Thanks for all suggestion... but still I cannot find solution. > Okay... let me describe once again. > > We have 3 kinds of members... > type 1 : want to receive news by ordinary email (html) > type 2 : want to receive news by cellphone email (Plain text only) > type 3 : by fax. (later.. will try to send fax from those HTML page) > > I make the message content in database, so that from here.. we can send > automatically to ordinary email (html), cellphone email (plain text) and > later by fax (using fax server). > > So... I try to "avoid making separate content" for separate members... just > from this one type of content I can send to all members. (html, plain, and > fax) > > The problem is... How can I send "plain text email" taken from a "HTML > content. page" > > for example... the actual content are as follows. > <P>line1<BR>line2<BR>line3</P> > > How can I send those above in plain text but still have break line ? > > If I just replace those <BR> with chr(13) & chr(10); > the result would be just like this : > line1 line2 line3 > > Notice above.. that the line is just continue in one line > what I want is : (with line break) > line1 > line2 > line3 > > What is the character code to mimic the "carriage return button" > so that those plain text message understand ? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288470 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4