Outlook自动转发将回复设置为原始发件人,而不是转发人 [英] Outlook auto forward set replyto to orginal sender rather than forwarder

查看:1114
本文介绍了Outlook自动转发将回复设置为原始发件人,而不是转发人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有VBA代码,可以将电子邮件转发到特定帐户.除转发的电子邮件具有转发者的电子邮件地址外,其他方法均有效.

I have VBA code to forward email to a specific account. It works except email being forwarded has the forwarder's email address.

转发电子邮件后,如何保留原始发件人电子邮件地址作为答复?

How can I keep the original sender email address as the replyto after an email is forwarded?

Sub AutoForwardAllSentItems(Item As Outlook.MailItem)
    Dim strMsg As String
    Dim autoFwd  As Outlook.MailItem

    Set autoFwd = Item.Forward

    autoFwd.Recipients.Add "my_email@domain.com"

    autoFwd.Send

    Set autoFwd = Nothing
End Sub

推荐答案

所以没有办法吗?真的吗? –迈克(Mike)7小时前

so there is no way? really? – Mike 7 hours ago

当他提到Outlook不允许您修改电子邮件中包含的标题时,Riking是正确的.我猜想他指的是.SenderEmailAddress属性.您不能修改.SenderEmailAddress,因为此属性是只读的.

Riking is correct when he mentioned that Outlook will not let you modify the headers included in the email. I am guessing that he is refering to .SenderEmailAddress property. You cannot modify the .SenderEmailAddressas this property is readonly.

说过,您可能想使用另一个属性. .SentOnBehalfOfName此处有更多详细信息

Having said that there is another property that you may like to use. .SentOnBehalfOfName More details here

主题:SentOnBehalfOfName属性

链接: http://msdn.microsoft.com/en-us/library/aa171998%28v=office.11​​%29.aspx

从以上链接引用

Quote from the above link

返回一个字符串,该字符串指示邮件消息的预期发件人的显示名称.此属性对应于MAPI属性PR_SENT_REPRESENTING_NAME.读/写.

Returns a String indicating the display name for the intended sender of the mail message. This property corresponds to the MAPI property PR_SENT_REPRESENTING_NAME. Read/write.

expression.SentOnBehalfOfName

expression.SentOnBehalfOfName

必需的表达式.该表达式返回MailItem对象.

expression Required. An expression that returns a MailItem object.

也请参见此链接

主题:自动设置新Outlook邮件的发件人"地址

链接: 从以上链接引用

Quote from the above link

如果您正在为一组用户使用已启用邮件的公用文件夹或通讯组列表,并且希望将他们发送的邮件的回复发送到组smtp地址而不是发件人的邮箱,则设置备用回复地址特别有用.

Setting an alternate reply address is particularly useful if you are using a mail enabled public folder or distribution list for a group of users and would like the replies to messages that they send to go to the group smtp address instead of the sender’s mailbox.

HTH

这篇关于Outlook自动转发将回复设置为原始发件人,而不是转发人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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