开发者

How to embed contents of an excel worksheet into a email in javamail?

开发者 https://www.devze.com 2023-03-27 01:59 出处:网络
I need help to send an email using jav开发者_开发百科amail-api and embed the content of an excel sheet in it before sending.I\'m not too sure but i guess this might help you.

I need help to send an email using jav开发者_开发百科amail-api and embed the content of an excel sheet in it before sending.


I'm not too sure but i guess this might help you. As you can first read the data and then put them in mail.


You can workaround it by creating your HTML-mail template via an external graphical HTML editor. Once the template is ready, just load the template to your JAVA app and edit it to add the required data. I find Apache POI to do great job with reading from XLS\XLSX files.

0

精彩评论

暂无评论...
验证码 换一张
取 消