Hi,
I use Outlook 2000 and I want add a recipient (CCN) when a
mail is sending.
I wanna have a copy of each mail sent by the PC and I
don't want that the users see it. Is possible?
I use this code but it doesn't work... Why?
Private Sub Application_ItemSend(ByVal Item As Object,
Cancel As Boolean)
Dim NewRec As Recipient
Set NewRec = Item.Recipients.Add("admin@domain.com")
NewRec.Type = OlMailRecipientType.olBCC
End Sub
Bye Bye and Sorry for my terrible english.
Michele
Sue Mosher [MVP-Outlook] - 28 Oct 2004 15:39 GMT
This is the correct statement you need to set the Type:
NewRec.Type = olBCC

Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> Hi,
> I use Outlook 2000 and I want add a recipient (CCN) when a
[quoted text clipped - 13 lines]
>
> Michele