View Single Post
  #3  
Old March 8th 08, 12:17 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 13
Default Audit when an email is deleted from a mailbox

hi Eric, thanks for your answer. I can roll it out to each user thats
not a problem, where do I start? Can you point me in the right
direction as to what commands or code to use, I have monitored a
mailbox for new entries before, but no for deleting, is there an event
to call?

Thanks again, John

On 7 Mar, 20:12, Eric Legault [MVP - Outlook]
wrote:
If these are delegated mailboxes, then you would need the code to run on each
of the computers for the users who are opening other people's mailboxes. *
That's probably not going to happen in most environments...

Otherwise, you would need to develop an Exchange Event sink where the code
runs "silently" on the server 24/7, without client side code or needing
Outlook to be open. *Sinks are for advanced programmers though.

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:http://www.collaborativeinnovations.ca
Blog:http://blogs.officezealot.com/legault/



" wrote:
I have a situation where we have many people have access to a mailbox,
this mailbox every now and again has emails deleted and we dont know
who deletes them. We need everyone to have rights to delete them
because the mailbox will become unmanageable if we dont.


Is there a way using VBA that when an email is deleted from the
mailbox all I want to do is either write a line to a log file comma
delimited with like email_id, sender, and who the logged person was
who deleted it and what time and a few other things or update a
database.


We back the email up so it is easy to recover but it is very important
these things get actioned.


Any help grateful received.


Thanks John- Hide quoted text -


- Show quoted text -


Ads