PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Program Addins Copy one sented email in a pubblic folder

Reply

Copy one sented email in a pubblic folder

 
Thread Tools Rate Thread
Old 01-06-2007, 05:08 PM   #1
=?Utf-8?B?QW5kcmVh?=
Guest
 
Posts: n/a
Default Copy one sented email in a pubblic folder


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
  Reply With Quote
Old 01-06-2007, 07:03 PM   #2
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: Copy one sented email in a pubblic folder

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 @discussions.microsoft.com> wrote in message
news:C165C66B-012F-4AD0-B2CA-49DCE402A486@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



  Reply With Quote
Old 04-06-2007, 09:10 AM   #3
=?Utf-8?B?QW5kcmVh?=
Guest
 
Posts: n/a
Default Re: Copy one sented email in a pubblic folder

GREAT!!
Thank You Very Mutch

"Dmitry Streblechenko" wrote:

> 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 @discussions.microsoft.com> wrote in message
> news:C165C66B-012F-4AD0-B2CA-49DCE402A486@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

>
>
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off