Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Monitoring who modifies e-mails in outlook 2000

Status
Not open for further replies.

Ayias

Technical User
Apr 1, 2004
9
GB
I have a shared outlook 2000 mailbox. I need to write some code so that I can be notified when somebody modifies an item in this mailbox I can be informed of this. I have written some VB code within outlook which can tell me when the item is modified but I can not find a way of getting it to tell me who has modified it. I know if I put the code on everyone's machine I can use the currentuser command to find out this information, but this is not an option. I need the one machine to know and tell me who is modifiying the items in the mailbox. Any ideas?

Code:
Public WithEvents myolitems2 As Outlook.Items
Set myOlItems2 = Outlook.Session.Folders("Mailbox").Folders("Inbox").Items

Private Sub myOlItems2_ItemChange(ByVal Item As Object)
'this will run once anyone has modified an item, and this is where I need the extra code to go, to tell me who has modified it.
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top