Cancelling and closing a mailitem in itemsend event

B

bstrum

I have seen posts and have also experienced first hand that there can be many
complications to making modifications to a mailitems subject, body and
attachments during an itemsend event. Is the proper method to make a copy of
the mailitem in itemsend, make mods to the copy and then send the copy? And
if so, how do you close and delete the original message? I am able to delete
it with no problem but the inspector windows stays open.

Thank you,

Benjamin Strum
ThinkTron Corporation
 
M

Michael Bauer [MVP - Outlook]

I never had problems with that properties in ItemSend. However, I'd store
the item's EntryID and StoreID, cancel the sending process, and start a
timer with a delay of maybe 40ms; in that timer event make the modifications
and send the message again.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize Outlook email:
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>

Am Mon, 18 Jun 2007 07:50:00 -0700 schrieb bstrum:
 

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