如何使用 LotusScript 将 X 标头添加到外发邮件中

发布于 2024-08-15 08:38:16 字数 114 浏览 2 评论 0原文

我正在寻找 Lotus 脚本,如果列表中有特定项目,它会将 X 标头添加到外发电子邮件中。项目值是从自定义复选框设置的,添加到模板之一。我还想知道在设计器视图中的何处添加此脚本(querysend 事件?)。谢谢。

I am looking for the Lotus Script which would add X-header to the outgoing e-mail if it has particular item in the list. The item value is set from the custom checkbox, added to one of templates. I also would like to know where to add this script in designer view (querysend event?). Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

2024-08-22 08:38:16

如果您可以控制 Domino 服务器,则可以将其配置为在外发邮件中包含某些 Notes 项目作为 x 标头。

设置高级出站 MIME 选项

If you have control over the Domino server, you can configure it to include certain Notes items as x-headers on outgoing mail.

Check out Always send the following Notes items in headers on Setting advanced outbound MIME options .

青春有你 2024-08-22 08:38:16

您可以使用 NotesMIMEEntityCreateHeader 方法设置 MIME 标头。我只在代理中以编程方式构建完整的电子邮件时使用过它,所以不确定在哪里将其挂接到从客户端创建的文档中。保存后事件应该为您提供一个可以转换为 MIME 的文档,然后添加标题,但这可能有点繁琐。你必须尝试一下。

You can set MIME headers using the CreateHeader method of NotesMIMEEntity. I've only ever used this when constructing a complete email programmatically in an agent, so not sure where to hook that into a document created from the client. The post save event should give you a document you can convert to MIME and then add the header, but it's likely to be a little fiddly. You'll have to try it out.

不喜欢何必死缠烂打 2024-08-22 08:38:16

如果您创建笔记项,则可以使用“始终在标题中发送以下笔记项”,即 $MyNotesItem 将变为 X-MyNotesItem

If you create an notes item, then you can use the "Always send the following Notes items in headers", ie $MyNotesItem will become X-MyNotesItem

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文