Retrieving text/plain messages

Giganews Newsgroups
Subject: Retrieving text/plain messages
Posted by:  John Franklin (jo…@lesberries.co.uk)
Date: Thu, 11 Mar 2004

If I retrieve a message of Content-Type text/plain; charset="utf-8" from a
mail server using TIdPOP3->Retrieve, the message text does not appear in
either the message Body or in a MessagePart.

If I retrieve the same message using TIdPOP3->RetrieveRaw, the message is
there, at the end.

Also, if I SaveToFile the retrieved message, for some reason it is saved
with Content-Type multipart/alternative, but still with the original message
body text missing.

I've also noticed that TIdMessage->IsEncoded is always false, even with a
multipart message.

Are there any known problems here?  I'm using Indy9 with BCB6.

Thanks.

John Franklin

Replies