Mark86 Posted April 25, 2016 Report Share Posted April 25, 2016 I've just read the article "How to Automatically BCC in Outlook 2010", it was very helpful, I do however have one small question, when setting up a rule to automatically CC yourself in all outgoing email you've got the option to exclude this rule for particular recipients. Is it also possible to add a piece of code to the Visual Basic code mentioned in the article (and below), so that you won't be BCC'ed when emailing particular recipients (for example if I send an email to a mailgroup at work which I'm a member of myself, I don't want the email to be BCC'ed to myself) Is this possible, and if so, could anyone tell me how? Thanks! 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 = "SomeEmailAddress@domain.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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.