如何使用 LotusScript 将 X 标头添加到外发邮件中
我正在寻找 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您可以控制 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 .
您可以使用
NotesMIMEEntity
的CreateHeader
方法设置 MIME 标头。我只在代理中以编程方式构建完整的电子邮件时使用过它,所以不确定在哪里将其挂接到从客户端创建的文档中。保存后事件应该为您提供一个可以转换为 MIME 的文档,然后添加标题,但这可能有点繁琐。你必须尝试一下。You can set MIME headers using the
CreateHeader
method ofNotesMIMEEntity
. 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.如果您创建笔记项,则可以使用“始终在标题中发送以下笔记项”,即 $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