AfterSendEvent...

K

Koen Verwimp

Hello,

In the outlook model we can set an event handler on "Application.ItemSend",
but this event is a BeforeSend event. I need an AfterSend event ... because I
need the entryID of the mail after sending.

Anyone an idea for solving this?
Can Redemption help?

greetz,
Koen
 
K

Koen Verwimp

Sue,

Problem is that you can choose another location for saving the sent item
while creating a new mail.
These mails will not be catched by the eventhandler on the default sent items.

grtz,
Koen
 
S

Sue Mosher [MVP-Outlook]

Your add-in could handle that possibility by looking at the value of the
SaveSentMessageFolder property and adding ItemAdd event handlers for other
folders as needed. A wrapper class would be a good approach for that, just as
you'd use a wrapper class to handle events from multiple open Explorer or
Inspector windows.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top