IdMessage.Body with ContentTransferEncoding base64 is blank

Giganews Newsgroups
Subject: IdMessage.Body with ContentTransferEncoding base64 is blank
Posted by:  Ed Johnson (nospam@nospam.com)
Date: Thu, 16 Oct 2003

I have an application I've written using Indy 9.0.14 in Borland C++ Builder
(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

Replies