how to read content of attachment file using JavaMail
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Amrut_Parab
Posted On:   Wednesday, April 26, 2006 06:23 AM

I have mail with document.txt file. The content of this file is a,2,3,r,5,6 when I am reading this content I am getting following data This is a multi-part message in MIME format. ------=_NextPart_000_0025_01C6693A.7F7324F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ------=_NextPart_000_0025_01C6693A.7F7324F0 Content-Type: text/plain; name="Document.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Document.txt" a,2,3,r,5,   More>>

I have mail with document.txt file.

The content of this file is



a,2,3,r,5,6




when I am reading this content I am getting following data


This is a multi-part message in MIME format.



------=_NextPart_000_0025_01C6693A.7F7324F0

Content-Type: text/plain;

charset="us-ascii"

Content-Transfer-Encoding: 7bit




------=_NextPart_000_0025_01C6693A.7F7324F0

Content-Type: text/plain;

name="Document.txt"

Content-Transfer-Encoding: 7bit

Content-Disposition: attachment;

filename="Document.txt"


a,2,3,r,5,6

------=_NextPart_000_0025_01C6693A.7F7324F0--



i want only a,2,3,r,5,6 to come



Pls help me as soon as possible

Thanx in advance

   <<Less
About | Sitemap | Contact