From aquasync at gmail.com Wed Jul 1 18:29:15 2009 From: aquasync at gmail.com (charles) Date: Thu, 2 Jul 2009 08:29:15 +1000 Subject: [Tmail-talk] Problem with extracting doc and pdf documents In-Reply-To: <4c7837ed0907010546g712c9e0cta914aa7dd0c45d6e@mail.gmail.com> References: <4c7837ed0907010546g712c9e0cta914aa7dd0c45d6e@mail.gmail.com> Message-ID: <89bd8880907011529n19cb9d40g55f347334a726a5@mail.gmail.com> Just a guess, but did you open the files in binary mode? On Wed, Jul 1, 2009 at 10:46 PM, David Filip wrote: > Hello everyone, > > I am trying to extract attachments from huge pile of mails using TMail. When > I try to extract some doc file in most cases after trying to open the file > in Open Office or MS Word I've got the General Error (for .docx files) or > File Reading error (for .doc files). > > Do you have any experience with this or know any workaround? I am using my > own code, but I also tried extract script from samples with same behavior. > > Thanks for your help, > David Filip > _______________________________________________ > Tmail-talk mailing list > Tmail-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/tmail-talk > >