Receiving notification on Send, Receive and Delete 
Author Message
 Receiving notification on Send, Receive and Delete

Hi everyone,

I want to be able to trap 3 events: Receipt of new mail, sending mail, and
deleting a mail item.

I'm not yet sure which versions of Outlook I need to support. I know for
receiving and sending, I can use trap events like NewMail or ItemAdd and
ItemSend, but I think that's only in OL2000/2002. Not yet sure how to get
notified about a deletion. I could trap ItemAdd on the DeletedItems folder I
guess, but what if the user deletes by hitting Shift-Delete, which doesn't
send the item to the DeletedItems folder and just permanently deletes it?

So the actual questions are:

1. How would you get notification of new mail, sending mail, or deleting
mail prior to OL2000?
2. How would you get notification of deleting mail in OL2000+, including if
the user "permanently" deletes an item using Shift-Delete?
3. Any comments on the differences between trapping inboxFolder_ItemAdd vs.
olApp_NewMail?

Thank you! Email replies would be great too.

David Horowitz



Wed, 02 Feb 2005 07:01:40 GMT  
 Receiving notification on Send, Receive and Delete
Sue, I'm sure you don't have time to solve all the world's problems, but how
about mine?  Big ;o)

Dave


Quote:
> Hi everyone,

> I want to be able to trap 3 events: Receipt of new mail, sending mail, and
> deleting a mail item.

> I'm not yet sure which versions of Outlook I need to support. I know for
> receiving and sending, I can use trap events like NewMail or ItemAdd and
> ItemSend, but I think that's only in OL2000/2002. Not yet sure how to get
> notified about a deletion. I could trap ItemAdd on the DeletedItems folder
I
> guess, but what if the user deletes by hitting Shift-Delete, which doesn't
> send the item to the DeletedItems folder and just permanently deletes it?

> So the actual questions are:

> 1. How would you get notification of new mail, sending mail, or deleting
> mail prior to OL2000?
> 2. How would you get notification of deleting mail in OL2000+, including
if
> the user "permanently" deletes an item using Shift-Delete?
> 3. Any comments on the differences between trapping inboxFolder_ItemAdd
vs.
> olApp_NewMail?

> Thank you! Email replies would be great too.

> David Horowitz



Thu, 03 Feb 2005 09:20:13 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. send/receive notifications

2. Send/Receive Notification

3. How to receive file change notification in VB6?

4. Receiving notification on Save

5. Receive a notification from windows when the system is idle

6. How to receive file change notification in VB6?

7. Receiving notification about changes(adding or removing ActiveX controls) in the container

8. Not receiving any error notifications from ADO

9. FTP Notification when a file is received

10. How to receive file change notification?

11. socket.receive fails to receive

12. Deleting some lines from received messages

 

 
Powered by phpBB® Forum Software