在Lotus Notes中更改邮件文档中的发送者 [英] Changing Sent By in Mail Document in Lotus Notes

查看:166
本文介绍了在Lotus Notes中更改邮件文档中的发送者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我还要更改在Lotus脚本中创建的触发代理发送的邮件中的发送者"字段(在有mailDoc.Principal时显示).是否有可能更改它我已经尝试了以下代码

I would like to also change the field "sent by" (displaying when there is a mailDoc.Principal) in the mail being sent by a triggered agent created in lotus script. Is it possible to change it I already tried the following codes

mailDoc.SentBy = strFrom
mailDoc.tmpDisplaySentBy = strFrom
mailDoc.FROM = strFrom
mailDoc.SendFrom = strFrom

仍然无法更改该部分..是否可能或有一些限制?..谢谢

Still I couldn't change that part.. Is it possible or is there some limitation?.. Thanks

推荐答案

您无法更改它.服务器始终将当前用户名放在Principal/From字段中.

You can't change it. The server puts always the current username into field Principal/From.

但是有一种解决方法:代替发送邮件,将邮件文档保存到服务器上的mail.box中,并使用您选择的主体/发件人"字段内容.这样服务器将不再更改该字段.

But there is a workaround: instead of sending the mail save the mail document into mail.box on server with a Principal/From field content of your choice. This way server won't change the field anymore.

此处是Karl-Henry Martinsson的示例.

Here is an example from Karl-Henry Martinsson how to do it.

这篇关于在Lotus Notes中更改邮件文档中的发送者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆