Meaningless Drivel is fun!
The moose likes Servlets and the fly likes Problem Reading Attachments Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem Reading Attachments " Watch "Problem Reading Attachments " New topic

Problem Reading Attachments

Sandeep Jain
Ranch Hand

Joined: Oct 25, 2000
Posts: 124
hello guys ,
I am trying to read mails from mail server. Everything is Ok, except that I am not able to read the files properly which comes as attachment.
ie after storing it on the disk, when i open the file I see all junk charecters in it .
What I notice is, all the mails are comming with
application/ms-tnf format . I tried searching on the net an came accross a package which says that ms-tnef formats are in encoded format.
The package provides the api , however even after that i am not able to read the mails.
following is the site address which provides package for reading tnef formats
if anyone is able to read attchament please send me the code.
This is very urgent for me ....
Any suggestions are welcome...
Thanks in Advance

Try and Try Till u succeed<br /> <br />Sandeep Jain
Sandeep Jain
Ranch Hand

Joined: Oct 25, 2000
Posts: 124
oops!!Sorry forgot to paste the package url
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Problem Reading Attachments
It's not a secret anymore!