aspose file tools
The moose likes EJB and Other Java EE Technologies and the fly likes Need to convert thet mail having attachments to blob to store it in Oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and Other Java EE Technologies
Reply Bookmark "Need to convert thet mail having attachments to blob to store it in Oracle" Watch "Need to convert thet mail having attachments to blob to store it in Oracle" New topic
Author

Need to convert thet mail having attachments to blob to store it in Oracle

senthil Ar
Greenhorn

Joined: Dec 22, 2011
Posts: 1
Hi

I need to convert the mail message which is having different type of attachments to BLOB to store it in DB and covert it again back to the MIME message with all the attachments to resent the mail if sending failed for the first time.

right now we are having the code to covert the MIME message to BLOB,when i covert it back i get only the plain text added in the mail message and i lost the attachment in that mail,when i examine the BLOB in DB it shows only the content type as PLAIN/TEXT even though i have added multiple content types, is it possible to convert the whole MIME message with different multipart attachments to BLOB and getting it back.please help thanks in advance
 
 
subject: Need to convert thet mail having attachments to blob to store it in Oracle
 
Threads others viewed
JavaMail API error
SOAP Attachments in WLS 8.1 using Workshop 8.1
Receiving mail without using JavaMail
How to send mail to more than one recipients
encrypt data in database
IntelliJ Java IDE