Is Indy broken?

Giganews Newsgroups
Subject: Is Indy broken?
Posted by:  Captain Kirk (abu…@127.0.0.1)
Date: Sat, 13 Mar 2004

I'm unable to read MIME email using Indy. From the code following the sample
output,
I'm getting:

TIdText
TIdText
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

I can't see anything wrong with the code. Is Indy broken?

  if IdMessage1.MessageParts.Count = 0 then
    RichEdit4.Lines.AddStrings(IdMessage1.Body)
  else
    begin
    for Kownt := 0 to IdMessage1.MessageParts.Count -1 do
      begin
      RichEdit4.Lines.Add(IdMessage1.MessageParts.Items[Kownt].ClassName);
      if IdMessage1.MessageParts.Items[Kownt] is TIdText then

RichEdit4.Lines.AddStrings(TIdText(IdMessage1.MessageParts.Items[Kownt]).Bod
y);
      end;
    end;
    RichEdit4.Lines.AddStrings(IdMessage1.Body);
  end;

--
Captain Kirk,

Boldly going where only cameramen
have been before.

Replies