|Subject:||Re: Some messages not being displayed|
|Posted by:||Ciaran Costelloe (ccostell…@flogas.ie)|
|Date:||Thu, 6 May 2004|
"Rhys Sage" <firstname.lastname@example.org> wrote in message
> I have the following procedure using Indy 9.14. I'm getting problems in
> some email bodies
What exactly do you mean by bodies? TIdMessage.Body will be empty for many
MIME messages (unless they have the preamble "This is a MIME encoded email"
or whatever), plus there are emails that have no message (files emailed from
applications, e.g. Excel?) apart from badly-formatted junk email.
> are just not being displayed. What might be the solution?
Upgrade to Indy 10 (free, open-source). It handles some more possibilities
than Indy 9 anyway.
Also, post the raw email here.
> procedure TForm1.DisplayTextClick(Sender: TObject);
> var Kownt : Integer;
> if IdMessage1.MessageParts.Count = 0 then
> for Kownt := 0 to IdMessage1.MessageParts.Count -1 do
> if IdMessage1.MessageParts.Items[Kownt] is TIdText then
> Join the anti-spam project:
> or view my website:
> "Linux - an operating system that wants to work.
> Windows - an operating system that mostly works.
> Mac OS - an operating system that really works."
Some messages not being displayed posted by Rhys Sage on Thu, 6 May 2004