Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Copy one sented email in a pubblic folder

Geek News

Copy one sented email in a pubblic folder
Andrea 6/1/2007 4:08:01 PM
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
Re: Copy one sented email in a pubblic folder
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 6/1/2007 6:03:20 PM
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

"Andrea" <Andrea [ at ]discussions.microsoft.com> wrote in message
news:C165C66B-012F-4AD0-B2CA-49DCE402A486[ at ]microsoft.com...
[Quoted Text]
> 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


Re: Copy one sented email in a pubblic folder
Andrea 6/4/2007 8:10:01 AM
GREAT!!
Thank You Very Mutch

"Dmitry Streblechenko" wrote:

[Quoted Text]
> 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
>
> "Andrea" <Andrea [ at ]discussions.microsoft.com> wrote in message
> news:C165C66B-012F-4AD0-B2CA-49DCE402A486[ at ]microsoft.com...
> > 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
>
>
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net