HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How To Automatically Bcc All Emails Sent In Outlook?

5,223 views October 1, 2020 2:45

Watch on YouTube
ChannelHowItSolved

Description from the creator

#HowItSolved #Howto
Code:
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim objRecipient As Recipient
Dim strMsgErr As String
Dim result As Integer
Dim strBccEmailAdd As String
On Error Resume Next

strBccEmailAdd = "[email protected]"

Set objRecipient = Item.Recipients.Add(strBccEmailAdd)
objRecipient.Type = olBCC
If Not objRecipient.Resolve Then
strMsgErr = "Could not resolve the Bcc recipient. " & _
"Do you want still to send the message?"
result = MsgBox(strMsg, vbYesNo + vbDefaultButton1, _
"Could Not Resolve Bcc Recipient")
If result = vbNo Then
Cancel = True
End If
End If

Set objRecipient = Nothing
End Sub

►Have a video Suggestion? Post it in the Comments Section, Contact me through my Facebook page or Tweet me!

Connect with me!
Facebook ► facebook.com/HowItSolved
Twitter ► twitter.com/HowItSolved

► Don't forget to Like, Share and Subscribe!

About this tutorial

HowItSolved published this 2:45 video tutorial on October 1, 2020. It has been watched 5,223 times on YouTube.

Duration
2:45
Published
October 1, 2020
Views
5,223
Likes
27

Tags

Share

This tutorial in other languages