Benoît, I obtained the email provided to you by 1)forwarding it to another server, one which enable me to save it ti disc. Putting that file through the mime.decode process make a good pdf. It seems that my problems have arisen after downloading the email and saving it to a mysql db ( as type 'blob') and then decoding it. It was saved to the db using .Message.ToString(). Bill
-- View this message in context: http://gambas.8142.n7.nabble.com/mime-decode-seems-to-fail-with-a-pdf-attachment-tp43877p43888.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user