我有一个宏编码为规则,将所有传入和发送的电子邮件自动转发到密件抄送字段中的私人电子邮件地址(在服务器级别禁用任何自动密件抄送规则。)在这里的董事会的帮助下,宏工作完美,并且出于所有意图和目的是不可见的。
但是,如果您在 SENT FOLDER 中打开 SENT 消息,则 BCC 字段对所有人都是可见的,全世界都可以看到。我了解到这是 Outlook 中的一个“功能”,显然是从 2003 年开始。
查看 SENT 电子邮件时,有没有办法抑制 BCC 字段的可见性?
或者有没有一种方法可以将单个文件夹的显示选项设置为不显示密件抄送 - 永远?
感谢您提供任何帮助。
我的代码:
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim objRecip As Recipient
Dim strMsg As String
Dim res As Integer
Dim strBcc As String
Dim answer
Dim oAtt
Dim strProc1 As String
On Error GoTo Application_ItemSend_Error
strBcc = "myprivateemail@gmail.com"
Set objRecip = Item.Recipients.Add(strBcc)
objRecip.Type = olBCC
If Not objRecip.Resolve Then
strMsg = "Could not resolve the Bcc recipient. " & _
"Do you want still to send the message?"
res = MsgBox(strMsg, vbYesNo + vbDefaultButton1, _
"Could Not Resolve Bcc Recipient")
If res = vbNo Then
Cancel = True
End If
End If
Set objRecip = Nothing
On Error GoTo 0
Exit Sub
Application_ItemSend_Error:
MsgBox "Error " & Err.Number & " (" & Err.Description & ") " & "Error on
Line " & Erl & " in procedure Application_ItemSend of VBA Document
ThisOutlookSession"
End Sub