如何通过带有附件的java打开默认电子邮件客户端(如outlook、windows live message、lotus)?

如何通过带有附件的java打开默认电子邮件客户端(如outlook、windows live message、lotus)?,java,email,email-client,jacob,Java,Email,Email Client,Jacob,事实上,我已经试过了 Desktop.mail(URI uri) 但这不能支持附件 我还尝试了使用ActiveXComponent来支持的jacob。这看起来不错的前景 ActiveXComponent oOutlook = ActiveXComponentHelper.newActiveXComp("Outlook.Application"); Dispatch mail = Dispa

事实上,我已经试过了

                 Desktop.mail(URI uri)
但这不能支持附件

我还尝试了使用ActiveXComponent来支持的jacob。这看起来不错的前景

                 ActiveXComponent oOutlook =   ActiveXComponentHelper.newActiveXComp("Outlook.Application");
                 Dispatch mail = Dispatch.invoke(oOutlook.getObject(), "CreateItem", Dispatch.Get, new Object[] { "0" }, new int[0])
                                 .toDispatch();
                 Dispatch.put(mail, "HTMLBody", htmlText);
                 Dispatch attachmentsObj = Dispatch.get(mail, "Attachments").toDispatch();   
这是对Windows Live Message和Lotus的支持吗?它们的progId是什么

还是有其他更好的方法

提前感谢你的帮助