How To Automatically Bcc All Emails You Send In Outlook?

When you sending an email message and you have a permanent secret recipient but don’t want the other recipients see his or her address, you should use the bcc function. But when we need to bcc, we have to manually show the bcc field and select a contact for it. To avoid these manual operations, the following article will show you how to modify outlook to automatically bcc an email address on all emails you send.

arrow blue right bubble Default Auto Bcc In Outlook By Using VBA

You can apply below VBA code to configure auto Bcc rule in Outlook. Please do as follows:

1. Press the Alt F11 keys simultaneously to open the Microsoft Visual Basic for Applications window.

2. Double click the ThisOutlookSessionin the Project pane, and then paste below VBA code into the opening window. See screenshot below:

VBA code: Auto bcc when sending all emails

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 = "<!-- This email address is being protected from spambots. --><span class="cloaked_email">This email address is being protected from spambots. You need JavaScript enabled to view it.</span><script>emailProtector.addCloakedMailto("ep_120ce523",0);</script>"
     
    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

Note: Please replace the "This email address is being protected from spambots. You need JavaScript enabled to view it." in above code with the email address you will bcc to.

3. Save the VBA code and close the Microsoft Visual Basic for Applications window.

From now on, you don’t need to fill the address in the Bcc field. When you send email from your outlook, it will automatically bcc to your desired recipient as the VBA code is carrying out.

 

 

Read 275 times
KT_Austin

About:

Welcome to AustinLaptop.Com

Subscribe to our Newsletter
Top
We use cookies to improve our website. By continuing to use this website, you are giving consent to cookies being used. More details…