开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜