+ -
当前位置:首页 → 问答吧 → Outlook 2007 设定规则

Outlook 2007 设定规则

时间:2011-08-03

来源:互联网

请问OUTLOOK 2007 可否设定规则, 所有外送邮件都自动寄一个密件副本(BCC)给某特定电邮? 我见规则中只可设定CC, 并没有BCC, 未知是否可以做到? 谢谢!!

作者: neanderthal   发布时间: 2011-08-03

好像自带没有这个功能,可以下个插件
http://www.ablebits.com/outlook- ... il-addins/index.php

作者: honggexjq   发布时间: 2011-08-03

或者添加如下代码到VBA里的ThisOutlookSession中,记得启用宏
复制内容到剪贴板
代码:
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
    On Error Resume Next

    ' #### USER OPTIONS ####
    ' address for Bcc -- must be SMTP address or resolvable
    ' to a name in the address book
    strBcc = "[email protected]"

    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
End Sub
把其中的strBcc = "[email protected]"改成你需要BCC的地址
注明下该代码是网上拷来的,非我原创,呵呵

作者: honggexjq   发布时间: 2011-08-03

谢谢, 看来可以做得到, 但这个是付费软件, 只有15日试用, 未知Outlook 本身有没有方法做到?

作者: neanderthal   发布时间: 2011-08-03

谢谢高人, 待我试试看!!

作者: neanderthal   发布时间: 2011-08-03