G
g.carreau
Hi,
I'am doing a samml project under Outlook ?
When I send an email i want to send a copy of the email to anothe
email addresse.
When i do taht I have a message box sayingthis :
A Program is trying to access email addresses you have stored i
outlook. Do you want to allow this ?
Is there a way to cancel those message box ?
This is the way i doo it rght now.
Private Sub Application_ItemSend(ByVal Item As Object, Cancel A
Boolean)
Dim objMe As Recipient
Item.Subject = Item.Subject + " / ref: 1234"
Set objMe = Item.Recipients.Add("[email protected]")
objMe.Type = olCC
objMe.Resolve
Set objMe = Nothing
End Sub
Thank you in advanc
I'am doing a samml project under Outlook ?
When I send an email i want to send a copy of the email to anothe
email addresse.
When i do taht I have a message box sayingthis :
A Program is trying to access email addresses you have stored i
outlook. Do you want to allow this ?
Is there a way to cancel those message box ?
This is the way i doo it rght now.
Private Sub Application_ItemSend(ByVal Item As Object, Cancel A
Boolean)
Dim objMe As Recipient
Item.Subject = Item.Subject + " / ref: 1234"
Set objMe = Item.Recipients.Add("[email protected]")
objMe.Type = olCC
objMe.Resolve
Set objMe = Nothing
End Sub
Thank you in advanc