gpt4 book ai didi

java - 如何以编程方式创建新邮件消息以在 Lotus Notes 中进行编辑?

转载 作者:行者123 更新时间:2023-11-30 03:16:30 25 4
gpt4 key购买 nike

目前正在开发 Lotus Notes 插件,并且在理解 Notes API 时遇到一些问题。

我希望能够单击插件 View 中的按钮,并触发打开新邮件消息,该消息已打开以供编辑,并且已设置附件和文本。我可以通过 shell 命令执行此操作,但尚未从 Java Eclipse RCP 插件中找到正确的 API 调用。

如何从 Lotus Notes Eclipse 插件中打开“新邮件”消息以进行编程编辑?

谢谢

最佳答案

您需要将“新邮件”指定为mailto链接并执行该链接。另请参阅:http://www.ibm.com/developerworks/lotus/library/notes8-data/

You can accomplish this action through the APIs of the operating system, rather than through Lotus Notes APIs. Specifically, the email action uses the mailto URL protocol to create the new message. The specification of these links, though, also allows for several other pieces of data to be passed. In particular, the action uses the ability to specify the body of the message. You can also leave off the recipient, so your link looks something like mailto:?body=It+would+be+nice+to+email+from+here. Because Lotus Notes implements this protocol, a link like this one correctly creates a new email with the given body. All you have to do is launch the link.

关于java - 如何以编程方式创建新邮件消息以在 Lotus Notes 中进行编辑?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32436109/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com