![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#10
|
|||
|
|||
![]()
Ken and Aravind,
I have checked the scope of "defaultFolder" and it is a member of the partial class "ThisApplication" (The auto generated code for a plugin using VSTO) and so is the "Items_ItemAdd" event handler so they should not go out of scope, as far as I can see. I tried Aravind's suggestion of using the "SaveSentMessageFolder" property and that works in saving a copy of the mail to a specified folder, which is what I was trying to achive by getting the mail from the sent folder and moving it to the custom folder. Thank you for the help. "Ken Slovak - [MVP - Outlook]" wrote: I've never seen that here at all. No matter if it's a reply, replyall, forward or new message if it goes to Sent Items after sending then I get ItemAdd on the Items collection of that folder. That's assuming that 15 or fewer items are added at once, otherwise the MAPI limitation on those events comes into play and the event does not fire. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Aravind" wrote in message ... Vimesh, I face a similar problem and haven't found a workaround. When I create a new email (i.e., use "New" then the sentitems itemadd event fires. But if I reply to an existing email or forward an email, it does not. Regarding your other question, I am using "myMailItem.SaveSentMessageFolder = folder;" before the call to mailitem.send to have outlook automatically move the current item into the appropriate folder. Ken, I have the variable declared at the class level, but the event doesn't always fire. Like I said above, it always fires if the user is typing up a new email but does not if it is a reply or forward. Aravind |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OUTLOOK 2003 -- Missing Send/Receive Functionality | Carolyn | Outlook - Installation | 3 | September 11th 07 12:22 AM |
Seeking OE5.5 "Send a Link" functionality with OE6 WinXp | Art Quest | Outlook Express | 6 | November 23rd 06 06:20 AM |
Same error - New Machine (no Send/Recieve Button Functionality-Unable to move or set default accounts.) | Rikk | Outlook - General Queries | 2 | November 6th 06 01:10 PM |
upgraded to outlook 2003 and will not replicate or alter accounts | Steve Hilton | Outlook - Installation | 1 | August 4th 06 07:58 PM |