View Single Post
  #2  
Old October 13th 07, 06:30 PM posted to microsoft.public.outlook.program_addins,microsoft.public.developer.outlook.addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Alternate data source for folders/explorers (synthesizing mailitems)

Why not just move the items if they are in Drafts? Save them and then call
Move on them.

--
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


"freenews.netfront.net" wrote in message
...
Hello, I'm looking for a way to display synthesized mailitems in a custom
folder. I don't want to send the items, and I'd prefer they not reside in
a physical folder (.pst or Exchange) at all. Preferably, I'd feed items
into a view from an alternate data source. Once they're diplayed in a view
or inspector, I need to them to behave like normal mailitems for purposes
of moving, replying, etc.

If I can't create a completely "virtual" folder, I'd be satisfied to write
the items to a real folder. But when I save my items, they end up in the
Drafts folder, as mentioned by Dmitry in this newsgroup. I've thought of
listening for an event when items are copied into drafts and moving them
right out. I haven't tried it yet, and I can think of any number of
reasons it wouldn't work, or work poorly.

My latest idea is to create the items as Post items, embedding mail fields
such as to/cc/bcc in the body, and writing my own view and form to display
them more like mailitems. Can anyone comment on the feasibility of this
approach?

If that doesn't work, all I can think of is to host a custom control in
the folder homepage. But it wouldn't have the richness of the
explorer/view control.

Does anyone have any ideas or comments?

Thanks very much,
Gary


Ads