Article View: borland.public.cppbuilder.internet.socket
Article #221Re: TidMessage attachment not saved while Boundary is used
From: Thomas Wasner
Date: Wed, 11 Jun 2008 05:28
Date: Wed, 11 Jun 2008 05:28
55 lines
3013 bytes
3013 bytes
>>>Which version of Indy are you using? I use the Version which was delivered with C++ Builder 2007. >>>What you describe suggests that TIdMessage is unable to parse the data correctly. this is my presumtion as well. I have done lot of Debugs and found out the the idMessage will not seperate the Parts completly. If you look to the Message there are 2 Mainparts separated by the Boundary '------A1158758294' the first part has some more parts which where find in 'idMessage->MessageParts->Items[i]' but the second mainpart is not separated into Parts. You find it in 'idMessage->Body->Text' which should be (from my understanding) be empty. But the secon part dont start with the Boundary '------A1158758294' instead it start with the Close of the Mainpart '--Fax2Mail28570-alt-- ------A1158758294 ' So from my Point of view the Messageidparser has a Problem. >>>Can you please show the actual message data? Can you give me an E-Mail adresse to send to because as soon as i put the message body in here it denies the Entry of this Message (he recognise the Mailbody as Attachment) thanks for your help in advance Thomas P.S. if necessary i can give you the accountdata where you can receive such a Mail for testing. Remy Lebeau (TeamB) schrieb: > "Thomas Wasner" <wasner@wasner.com> wrote in message > news:484e39ac@newsgroups.borland.com... > > >> i have a Problem with an incomming Mail that uses Boundary. The >> Mail includes 2 main Body's seperated via Boundary. The attachments >> in the Main Body will be saved but the attachment in the second part >> dont. The second part still exists in the idMessage->Body->Text. >> > > Which version of Indy are you using? Can you please show the actual message > data? What you describe suggests that TIdMessage is unable to parse the > data correctly. > > > Gambit > > >
Technical Details
Message-ID:
<484f6291$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<484e39ac@newsgroups.borland.com> <484eabb1$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,caf1ab966d1c3920 X-Google-Attributes: gid11508e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 11 Jun 2008 07:28:46 +0200 From: Thomas Wasner <wasner@wasner.com> User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: TidMessage attachment not saved while Boundary is used References: <484e39ac@newsgroups.borland.com> <484eabb1$1@newsgroups.borland.com> In-Reply-To: <484eabb1$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 84.57.81.207 Message-ID: <484f6291$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1213162129 84.57.81.207 (10 Jun 2008 22:28:49 -0700) Lines: 55 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail