Reading incoming messages

Giganews Newsgroups
Subject: Reading incoming messages
Posted by:  Rhys Sage (abu…@127.0.0.1)
Date: Tue, 8 Jun 2004

I'm trying to read an incoming, mime-encoded email.
I'm using the following:

  if (IdMessage1.MessageParts.Items[PartCounter].PartType is TIdText) then
Memo1.Lines.AddStrings(IdMessage1.MessageParts.Items[PartCounter]);

As the compiler objects, I assume TIdText is incorrect. How should I be
handling text and html portions? Also are there any other, aside from
TIdAttachment?

--
Yours

Rhys

Join the anti-spam project:
http://groups.yahoo.com/group/Anti-Spam-Development/
or view my website:
http://www.sageworld.org

"Linux - an operating system that wants to work.
Windows - an operating system that mostly works.
Mac OS - an operating system that really works."

Replies