I need some VB code to BCC an email address based on the the recipient of the outgoing email. Outlook 2003 rules is able to create a rule; when sending email to X carbon copy Y, but I need it to blind carbon copy which their is no option for in outlook's rules.
I found the below code at outlookcode.com, which will BCC a specified address on ALL outgoing messages from that outlook client, but I only want it to BCC the message based on it sending to a specified address.
Is anyone able to take the below code and modify it? If sending to X BCC Y
Thanks for any suggestions!
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim objMe As Recipient
Set objMe = Item.Recipients.Add("email@example.com")
objMe.Type = olBCC
Set objMe = Nothing