VB script for Bcc line

D

Daredevil

Hi

I had a small VB script running so the Bcc field was filled out on every new
Email.

Example

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)

Dim objMe As Recipient
Set objMe = Item.Recipients.Add("(e-mail address removed)")
objMe.Type = olBCC
objMe.Resolve
Set objMe = Nothing

End Sub

This worked fine for a while but now has stopped working and i am unsure of
why.

Help

Andy
 
E

Eric Legault [MVP - Outlook]

Chances are your macro security settings are prohibiting the code from
running, or the VBA add-in is listed in the Disabled Items area (under Help -
About) in Outlook 2003 - if so, re-enable it.
 
V

voip1234

yup, thats what it was...thanks! Now I have to figure out what
changed the config so that one minute it was working fine
and the next it wasnt.
thank you for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top