Copy one sented email in a pubblic folder

A

Andrea

Hello, i 've this problem in ootlook 2007 addin (vs2005)
I wont to copy an email in a specific public folder, after that this email
was sent.
I have write the code to a SEND stantment but the copy of the email in
pubblic folder was made before the email was sent and the sender folder was
blank.
How can i do it???
help me please.
andrea
 
D

Dmitry Streblechenko

Sender info is set only when the message is submitted for delivery. Trap the
MAPIFolder.Items.ItemAdd event on the Sent Items folder instead of
Application.ItemSend event

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
A

Andrea

GREAT!!
Thank You Very Mutch

Dmitry Streblechenko said:
Sender info is set only when the message is submitted for delivery. Trap the
MAPIFolder.Items.ItemAdd event on the Sent Items folder instead of
Application.ItemSend event

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

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