VB script for Bcc line

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.
 
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.
 
Back
Top