Article View: borland.public.cppbuilder.internet.socket
Article #2994Re: Get message contents as plain text
From: Peter Evans
Date: Tue, 06 Dec 2005 22:27
Date: Tue, 06 Dec 2005 22:27
39 lines
2843 bytes
2843 bytes
Hello again Paulo, Gambit(TeamB)'s reply is clearly more authoritative than mine on this thread, but I would only add the comment that I can _always_ find the untagged ascii equivalent of the HTML when using the NM component, and in fact use it. This is _not_ a recommendation for NM at all, as I'm now about to engage on dropping NM! It is only to encourage looking for the untagged ascii, if it carried over to Indy. Thanks for the info regarding you using C++ and Indy. I do, too, and have the impression now that the greater majority of Indy users are Delphi oriented (true Gambit?), so to know of other C++ users is helpful. Do you know of more? (We're supposed not to post email addresses, which I agree with, and I wouldn't encourage an off NG 'ring' as it could remove help, if there were any available, to others. We could however alert to a relevant NG posting.) Best regards, Peter Evans. "Paulo Tesche" wrote in message news:43945e17$1@newsgroups.borland.com... > Thanks Peter, > >> I can't speak for the Indy 9 component, but when using NetMaster's C++ >> equivalent the content of the email can be extracted into a String >> buffer. Emails in HTML will have different parts to them, one of which is >> an ascii text part representing the content of the email, but without >> tags. > > Well, I can get the message contents in a String with no problems, but it > cames with all the formatting tags associated to either HTML or RTF. I > need the text contents so that I can search it for some specific > substrings without worryng about any "interference" of tags. > > >> PS. Are you using Delphi or C++? > Iļæ½m using C++ Builder V6 >
Technical Details
Message-ID:
<43961018$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43944285@newsgroups.borland.com> <43945b7a$1@newsgroups.borland.com> <43945e17$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f67b0f781468066f X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII Reply-To: "Peter Evans" <peter-evans@pelcaro.com> From: "Peter Evans" <peter-evans@pelcaro.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <43944285@newsgroups.borland.com> <43945b7a$1@newsgroups.borland.com> <43945e17$1@newsgroups.borland.com> Subject: Re: Get message contents as plain text Date: Tue, 6 Dec 2005 22:27:26 -0000 Lines: 41 Organization: - X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 217.158.9.102 Message-ID: <43961018$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1133907992 217.158.9.102 (6 Dec 2005 14:26:32 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail