跳至主要内容

如何在Outlook中回复全部时从收件人/抄送/密件抄送字段中删除自己?

Author: Siluvia Last Modified: 2025-05-07

如果您的Outlook中有多个电子邮件账户,在回复收到的邮件时可能会引发一些问题。例如,您通过一个账户接收了一封邮件,但所有Outlook邮箱地址都显示为该邮件的收件人,点击“全部回复”按钮后,所有邮箱地址都会包含在收件人、抄送或密件抄送框中。但实际上,您并不希望其他邮箱账户也收到这封回复邮件。那么如何在回复全部时删除自己呢?本文将为您推荐实现这一目标的方法。

使用VBA代码发送邮件时删除自己

一键使用Kutools for Outlook从回复全部中删除自己


使用VBA代码发送邮件时删除自己

您可以将Outlook中的电子邮件账户地址添加到以下VBA代码中,以防止向自己发送邮件。请按照以下步骤操作:

1. 同时按下 Alt + F11 键打开 Microsoft Visual Basic for Applications 窗口。

2. 在 Microsoft Visual Basic for Applications 窗口中,双击 Project1 > Microsoft Outlook Objects > ThisOutlookSession,然后复制并粘贴以下 VBA 代码到代码窗口中。参见截图:

delete myself address from to filed when reply all using vba 1

VBA代码:在Outlook中从所有发送的邮件中删除自己

Private Sub RemoveRecipientsWhenItemSend(Item As Outlook.MailItem)
	Dim RemoveAddrList As VBA.Collection
	Dim Recipients As Outlook.Recipients
	Dim aRecipient As Outlook.Recipient
	Dim i
	Dim j
	Set RemoveAddrList = New VBA.Collection
	' add addresses here
	RemoveAddrList.Add "happy.xuebi@163.com"
	RemoveAddrList.Add "siluvia@extendoffice.com"
	Set Recipients = Item.Recipients
	For i = Recipients.Count To 1 Step - 1
		Set aRecipient = Recipients.Item(i)
		For j = 1 To RemoveAddrList.Count
			If LCase$(aRecipient.Address) = LCase$(RemoveAddrList(j)) Then
				Recipients.Remove i
				Exit For
			End If
		Next
	Next
End Sub
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
	On Error Resume Next
	RemoveRecipientsWhenItemSend Item
End Sub
现在:

1. 请将VBA代码中的电子邮件地址更改为您的邮箱账户。

2. 确保启用了“启用所有宏”选项。参见截图:

delete myself address from to filed when reply all using vba 2

3. 单击保存按钮并关闭 Microsoft Visual Basic for Applications 窗口。

从现在开始,当您发送邮件时,指定的Outlook账户的电子邮件地址将自动从收件人、抄送或密件抄送框中移除。


一键使用Kutools for Outlook从回复全部中删除自己

如果您有 Kutools for Outlook,您可以通过单击一键从收件人、抄送和密件抄送字段中删除自己的地址。

 👉 Kutools for Outlook 现在有了免费版本,其中 70+ 项功能终身免费。立即下载免费版本

如下图所示,为了从Outlook的回复全部中删除自己,请按照以下步骤操作:

delete myself address from to filed when reply all using kutools for outlook 1

1. 单击“全部回复”按钮创建回复邮件后,请单击 Kutools > 我的姓名。参见截图:

delete myself address from to filed when reply all using kutools for outlook 2

然后,您所有的姓名(电子邮件账户地址)将立即从收件人、抄送或密件抄送框中移除。

delete myself address from to filed when reply all using kutools for outlook 3

如果您想免费试用此工具,请前往 免费下载软件,然后按照上述步骤进行操作。