Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Feb : Re: Viewing text/attachments in a newsreader using Indy 10 TIdNNTP component

www.cryer.info
Managed Newsgroup Archive

Re: Viewing text/attachments in a newsreader using Indy 10 TIdNNTP component

Subject:Re: Viewing text/attachments in a newsreader using Indy 10 TIdNNTP component
Posted by:"Don Siders" (sider..@att.net)
Date:Mon, 19 Feb 2007 20:31:40

>I am interested in being able to view nntp messages with or without
>attachments.

...

> I would have thought the "else" portion of the procedure would provide me
> with an output for text only messages.  However, if I use the code
> commented out at the bottom I can display text only messages.  I am
> confused.  Any thoughts of what I may be doing wrong?

> Any suggestions are greatly appreciated.

Sure.

First, I'm of the opinion that multipart messages in NNTP are a waste of
bandwidth, and generally evil.<g>

Second, TIdMessage.Body mostly likely contains the content of a message that
has no MessageParts (represented as a single ContentType).

hth...

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive