Auto BCC some outbound emails in Outlook 2013 & 2016

I currently use outlook 2013, but will be upgrading all our computers soon to 2016 (maybe few months).

i have multiple email addresses setup in outlook currently, for ex: myname@domain.com, contact@domain.com, support@domain.com, sales@domain.com, etc...
i think they are about 20 email accounts that i handle in outlook.

i found a tool which costs money (ablebits.com) which offers somewhat similar to what i need. but there are 1 or 2 disadvantages to that tool:
1) it costs money, and i have about 8 computers that it needs to be installed on, they are not all used by me, and not all used by the same company either, so it would be an impractical way to go.
2) i read all their specs and details, it seems to me that all they offer is to cc or bcc all outbound emails to xyz@xyz-domain.tld, which doesn't work for me either.

i want the ability to have some of the email accounts that are setup in outlook to auto bcc to xyz@xyz-domain.tld but not all email accounts.

i looked everywhere, i couldn't find a proper solution to do this freely. some forum suggestions were to write a vb script, which i don't know how to.

plz help
GiggzManagerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Muhammad BurhanManager I.T.Commented:
May be this works
1.jpg
0
GiggzManagerAuthor Commented:
hi Muhammad > this rule is for arriving mail, not sending mail. i want to automatically bcc outbound mail from specific email accounts in my outlook, not from incoming mail.

thx
0
RobOwner (Aidellio)Commented:
To elaborate on Muhammad's suggestion, rules can be applied to outgoing messages:

http://www.codetwo.com/kb/how-to-create-in-outlook-a-rule-moving-sent-mail-to-a-specified-folder/
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

GiggzManagerAuthor Commented:
Rob, thanks for the clarification.
it looks like it might sort of do the job, but i'm more interested in the BCC option not just CC. i just checked the rules options and the only option available for sending is to CC the message to people or public group, but no option of BCC.

i don't know if that option is available in outlook 2016, but currently i'm running outlook 2013.
0
RobOwner (Aidellio)Commented:
Ah ok... I thought it had the bcc option there as well.  Done some digging around and found that you either need to code a macro or buy a third party add-in:

http://www.outlookcode.com/article.aspx?id=72
0
GiggzManagerAuthor Commented:
i see except i don't know how to.
and again, it seems that the code in that site doesn't specify which email account it's doing the auto bcc, i don't want to do auto bcc for all outgoing emails, only from specific accounts.
0
RobOwner (Aidellio)Commented:
The vba code could be tweaked to check what account the message is being sent from.

Let me check up on the API
0
RobOwner (Aidellio)Commented:
Ok, I haven't tested this but this is what I was getting at:

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
    Dim strAccounts as String
    On Error Resume Next
    
    strAccounts = "abc@domain.com,bbd@domain.com"

    if (strAccounts.contains(Item.SenderEmailAddress) then 
    ' #### USER OPTIONS ####
    ' address for Bcc -- must be SMTP address or resolvable
    ' to a name in the address book
    strBcc = "someone@somewhere.dom"

    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
   End If
    Set objRecip = Nothing
End Sub

Open in new window

0
GiggzManagerAuthor Commented:
i'm not sure where to put this code.! and i don't know where i can put the specific email accounts that i want to enable this feature for.!

thx
0
RobOwner (Aidellio)Commented:
Fair comment! :)

Change this line: strAccounts = "abc@domain.com,bbd@domain.com" to the email addresses for the computer you're setting this up for

Change this line: strBcc = "someone@somewhere.dom" to the address you want to send to

As for WHERE to put this code, this article explains it very well: http://www.groovypost.com/howto/microsoft/how-to-automatically-bcc-in-outlook-2010/
Shows you how to add the developer tab if it isn't there, through to putting the code into the "ThisOutlookSession" module.
0
GiggzManagerAuthor Commented:
thank you for the instructions, i followed the instructions to the T.

then i composed a new email, then as soon as i hit the send button, i got this error message, and it highlited the "if (strAccounts......." line but itself, and i never received the bcc.

error1.jpg
0
RobOwner (Aidellio)Commented:
Ah yes, sorry about that. There should be an additional closing bracket! :)

if (strAccounts.contains(Item.SenderEmailAddress)) then
0
GiggzManagerAuthor Commented:
I left the office already, but I'll give it another try tomorrow.

Thank you again
0
RobOwner (Aidellio)Commented:
No problem.  I'll monitor so that even if it's next week, I'll still see your comment
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
GiggzManagerAuthor Commented:
works fine, thank you, and sorry for the looooong delay, i got busy and i totally forgot i even posted this :)

thx for your help
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Clients

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.