Answers:
您可以创建规则以转发到密件抄送的分发列表。
编辑2015年02月23日
虽然以上在技术上是正确的。这并不像我想的那么简单。按规则转发时,地址对话框中没有密件抄送选项。我的版本是2010。
您可以使用运行脚本选项而不是使用对话框在规则中设置密件抄送。
Option Explicit
Sub Forward_BCC_DL(item As Object)
Dim newForward As MailItem
Dim myRecipient As Recipient
If item.Class = olMail Then
Set newForward = item.Forward
Set myRecipient = newForward.Recipients.Add("Name of Distribution List with the quotes")
myRecipient.Type = olBCC
newForward.Recipients.ResolveAll
newForward.Display ' Comment out with a leading apostrophe once tested
'newForward.Send ' Remove leading apostrophe once tested
End If
ExitRoutine:
Set newForward = Nothing
Set myRecipient = Nothing
End Sub
Private Sub Forward_BCC_DL_Test()
' To test
' open a message then run this code
Dim curritem As Object
Set curritem = ActiveInspector.currentItem
Forward_BCC_DL curritem
End Sub
如果您不熟悉VBA,这将有所帮助。
编辑2015 02 23-结束
编辑2015年02月24日
创建上面使用的通讯组列表可能会更好,但这将缓慢地检索所有联系人。
Option Explicit
Sub Forward_BCC_All(mail As MailItem)
Dim ContactsFolder As folder
Dim Contact As Object
Dim objMail As MailItem
'Dim j As Long
Dim objRecip As Recipient
Set ContactsFolder = Session.GetDefaultFolder(olFolderContacts)
Set objMail = mail.Forward
'j = 0
For Each Contact In ContactsFolder.Items
'j = j + 1
With objMail
'Debug.Print j & ": " & Contact
Set objRecip = .Recipients.Add(Contact)
objRecip.Type = olBCC
End With
Next
'Debug.Print "Resolving contacts slowly"
objMail.Recipients.ResolveAll
objMail.Display
ExitRoutine:
Set objMail = Nothing
Set ContactsFolder = Nothing
Set Contact = Nothing
End Sub
Private Sub Forward_BCC_All_test()
Dim currItem As MailItem
Set currItem = ActiveInspector.currentItem
Forward_BCC_All currItem
End Sub
编辑2015 02 24-结束