Skip to main content

如何在Outlook中使用「全部回覆」時將自己從收件人/抄送/密件抄送欄位中移除?

Author: Siluvia Last Modified: 2025-05-12

如果您的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

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