Re: IdMessage.Body with ContentTransferEncoding base64 is blank

Giganews Newsgroups
Subject: Re: IdMessage.Body with ContentTransferEncoding base64 is blank
Posted by:  Niki Bugarcici (Neik…
Date: Thu, 30 Oct 2003

I have got the 100% same problem with various other mails.
All of them are base64-encoded with no attachments and just the body (no

Seems that IdMessage is not storing those mails correctly.
If you retrieve the mails and save it (idmessage.saveto) , it will only save
the headers with empty body.
So parsing the mail is useless sinve it doesnt seem to contain the
base64-encoded part at all.

BTW: NoEncode+NoDecode are set to false

Anyone found a solution?


Niki Bugarcici

"Ed Johnson" <> schrieb im Newsbeitrag
> I have an application I've written using Indy 9.0.14 in Borland C++
> (BCB) 6 with update 4 applied.
> Some emails that I'm receiving are coming over with IdMessage->Body blank
> and with only one IdText item that is also blank. The email is entirely in
> base64. It has this in the header:
> Content-Type: text/html
> Content-Transfer-Encoding: base64
> And some settings on the object are:
> IdMessage->ContentTransferEncoding = "base64"
> IdMessage->AttachmentEncoding = "MIME"
> I've included an example email for testing. I'm just concerned that if I
> start to get emails in this format from users that  will be getting the
> decoded base64 content of their emails using Indy 9.0.14.
> Does anyone have any ideas on what's going wrong here?
> From: Ed Johnson


In response to

IdMessage.Body with ContentTransferEncoding base64 is blank posted by Ed Johnson on Thu, 16 Oct 2003