Java 生成 outLook .msg 文件

如何用Java创建MSG文件
看了各种网站,找到两个要钱的

和一个不要钱的 Apache POI,不要钱的却这能读MSG,写的方法还没实现,害我读啊读啊,读到最后的write方法   not yet supported, sorry.” 悲催!
 
貌似还有人也在寻找这个东东,去看LZ的解决方案。
 
 
Yea.. I was hoping the POI lib would be expanded .. but the project couldn't wait for it unfortunately..

I redid the code using another lib that made it easier.. using JMSG is basically recreating the message from the inputstream and saving it to .MSG file... so I decided to go with " JWebDav for Exchange", both by Independentsoft.com. It takes care of setting all the properties of the MSG file as well as attachments. You can also do the same with JMSG, but it takes over double the amount of code to do what JWebDav does automatically.

I don't work for Independent Soft, so if there is something better out there definitely let me know.
 
 
测试JMSG可以生成 可以使用的 .msg 文件
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值