Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3510

Re: PDF DOT Issue While send the Email in Webdynpro java using Java mail API

$
0
0

Hi Antony,

 

What type of Java api your using..?I am suggesting some jar files.

 

itextpdf-5.5.5.jar

 

jxl.jar

 

this jar working.and check this code

 

javax.activation.DataSource dataSource = new ByteArrayDataSource(pdfFile, "application/octet-stream");
MimeBodyPart bodyPartPDF = new MimeBodyPart();

 

 

bodyPartPDF.setDataHandler(new DataHandler(dataSource));

 

 

Regards,

Durga Rao.


Viewing all articles
Browse latest Browse all 3510

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>