Article View: borland.public.cppbuilder.internet.socket
Article #4164Re: Cannot View Certain Message Content in Indy 9
From: Bob Byers
Date: Sat, 26 Mar 2005 16:08
Date: Sat, 26 Mar 2005 16:08
69 lines
3982 bytes
3982 bytes
> Can you please elaborate? There is nothing in that message data that can be
> triggering any of the parsers to generate entries in the MessageParts
> collection.
I really appreciate the help, we're scheduled to go live with the
customer on the 28th (Mondya). I'm getting desparate. As I said, we
ran a lot of test messages that I generated and the code seemed to work
flawlessly. We only discovered this on Friday PM, when we got the
customer to send these test messages. Needless to say, I was surprised.
1st - I tried to force the system to look at Msg->Body first because
I didn't expect any message parts.
Memo1->Lines->AddStrings(Msg->Body); // this gives blank screen
Tried
Memo1->Text = Msg->Body->Text;
looking at Msg->Body->Text, I find that it is NULL
2nd - (Msg->MessageParts->Count) is found to be equal to 1
That steps through the for loop. On the first pass, the if
ment ... if (dynamic_cast...... evaluates as true
then the following line executes
Memo1->Lines->AddStrings(dynamic_cast<TIdText*>(Msg->MessageParts->Items[i])->Body);
but I still have a blank screen. I tried substituting a TStringList
for the memo box, and when the modified code executes
the StringList->Count is 0.
This is our own mailserver, which gives me direct access to the mail.
Following is the message directly from the mail file which looks exactly
like the message received using Eudora.
000000000000000032794D0A
Received: from gc-smtp01.guitarcenter.com
by MarshallElectronics.Net (VisNetic.MailServer.v7.5.3.0) with
ESMTP id MUP38292
for <guitarcenter@marshallelectronics.net>; Fri, 25 Mar 2005
09:40:21 -0800
Received: from tpmbizprod ([192.168.40.34])
by gcmail2.domestic.guitarcenter.com (Lotus Domino 652HF212)
with SMTP id 2005032509402917-11994 ;
Fri, 25 Mar 2005 09:40:29 -0800
From: <TPM@GuitarCenter.com>
Subject: Marshall Electronics PO:374346-00 Comments Added - TPM
Date: Fri, 25 Mar 2005 09:40:29 -0800
Message-ID: <0e6501c53161$bc796bf0$2228a8c0@domestic.guitarcenter.com>
MIME-Version: 1.0
X-Mailer: Microsoft CDO for Windows 2000
Thread-Index: AcUxYbx0wF/5C00sSJSYO4lzBWV8Cw==
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-MIMETrack: Itemize by SMTP Server on
GCMail2/Servers/GCNet(652HF212|August 17, 2004) at
03/25/2005 09:40:29 AM,
Serialize by Router on GC-SMTP01/Servers/GCNet(Release 6.5.2|June 01,
2004) at
03/25/2005 09:41:05 AM,
Serialize complete at 03/25/2005 09:41:05 AM
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: Marshall/Marshall Electro=0A=
Comment: Our s/o 411111
Technical Details
Message-ID:
<4245886a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4244a5e7$1@newsgroups.borland.com> <4244be2d$1@newsgroups.borland.com> <42450a46$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,31aae086870ed20 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Sat, 26 Mar 2005 08:08:00 -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: Re: Cannot View Certain Message Content in Indy 9 References: <4244a5e7$1@newsgroups.borland.com> <4244be2d$1@newsgroups.borland.com> <42450a46$1@newsgroups.borland.com> In-Reply-To: <42450a46$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 66.159.249.17 Message-ID: <4245886a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1111853162 66.159.249.17 (26 Mar 2005 08:06:02 -0800) Lines: 71 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail