aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem Reading Attachments " Watch "Problem Reading Attachments " New topic
Author

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
http://pages.prodigy.net/michael_santovec/decode.htm#ms-tnef
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem Reading Attachments
 
Similar Threads
creating calendar entry in outlook through javamail ???
retrieving only new messages using POP3-Possible????
2007 file compatibility issue
StarOffice or OpenOffice vs MS Office XP
How to use JTNEF - Sending email with Voting buttons in Outlook.