Does anyone knows how to decode a Mail and attached file in different formats such as : (Txt, Html, pdf, ecc.....). In case that no one knows how to do it in Perl, there is any program I can use to decode, or another language that I could integrate in a perl script. thanks for the help! Alejandro Alvarez