Attachments appear as text after using writeTo
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Harsha_Yale
Posted On:   Sunday, August 26, 2001 05:44 AM

I create an MimeMessage add an attachment & some text using MimeMultipart & MimeBodyPart.
if I send this MimeMessage I get an email with attachment & text

but if I convert this MimeMessage Using writeTo into an outputStream --> inputStream and use inputStream to create a mimeMessageObject and hit on send
the mail does not contain an attachment but it has its content pasted as text

please help

Re: Attachments appear as text after using writeTo

Posted By:   John_Zukowski  
Posted On:   Sunday, August 26, 2001 09:15 PM

To the best of my knowledge, you have to manually recreate the parts.
About | Sitemap | Contact