Article View: borland.public.cppbuilder.internet.socket
Article #4160Cannot View Certain Message Content in Indy 9
From: Bob Byers
Date: Sat, 26 Mar 2005 00:02
Date: Sat, 26 Mar 2005 00:02
35 lines
2233 bytes
2233 bytes
I've got a problem with a mail client that I've written to handle simple
plain text mail from a B2B source. My problem is that I can't see the
plain text message in my client. I've tested the client with a variety
of plain text messages and I capture them all EXCEPT for the only one I
care about. The Message is sent from the customer as
[snip]
Content-Transfer-Encoding: quoted-printable
Content-Class: urn:content-classes:message
Content-Type: text/plain;
charset="iso-8859-1"
Priority: High=0A=
Event: Comments Added=0A=
PO: 374346-00=0A=
Actual: 2005-03-25 00:00=0A=
Location: MyCompany/myCompany =0A=
Comment: Our s/o 411111
I can receive the text in any standard mail client, but not mine. And,
we've got reasons for not wanting to use Thunderbird, OE, etc.
I'm reading the mail, but not the plain text body. This message seems
to have one message part (my plain text tests had either no message
parts or one message part) according to TIdMessage.
if (Msg->MessageParts->Count)
for (int i = 0; i < (Msg->MessageParts->Count) ;i++)
{
if (dynamic_cast<TIdText*>(Msg->MessageParts->Items[i] ))
Memo1->Lines->AddStrings(dynamic_cast<TIdText*>(Msg->MessageParts->Items[i])->Body);
}
else
Memo1->Lines->AddStrings(Msg->Body);
Technical Details
Message-ID:
<4244a5e7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,31aae086870ed20,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Fri, 25 Mar 2005 16:02:09 -0800 From: Bob Byers <rbyers@marshallelectronics.net> User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Cannot View Certain Message Content in Indy 9 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 66.159.249.17 Message-ID: <4244a5e7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1111795175 66.159.249.17 (25 Mar 2005 15:59:35 -0800) Lines: 35 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail