![]() |
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 |
#1
|
|||
|
|||
![]()
Hi,
If you got mailboxes shared between people over the network and after you’ve granted the users send-as, it all works great except the fact that the messages the users sends from the shared mailbox, ends up in the users own (default) Sent Items folder. I have just created a tiny outlook Add-In that moves sent items to a specific folder (shared sent items folder in my case). Every time a new item is being added to my sent items folder I have to check for the sender name to determine if this item has been sent from a shared inbox folder or not... at the moment this is hard coded and configurable. Is there a better (more dynamically) way of how to find out if a sent item comes from a shared inbox folder? Any help would be great Thanks! Marc |
Ads |
#2
|
|||
|
|||
![]()
If the sender name and/or email address doesn't match what it normally is in
your Sent Items folder then it meets your criteria. I think that's about the best way to do your tests. -- 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 wrote in message ... Hi, If you got mailboxes shared between people over the network and after you’ve granted the users send-as, it all works great except the fact that the messages the users sends from the shared mailbox, ends up in the users own (default) Sent Items folder. I have just created a tiny outlook Add-In that moves sent items to a specific folder (shared sent items folder in my case). Every time a new item is being added to my sent items folder I have to check for the sender name to determine if this item has been sent from a shared inbox folder or not... at the moment this is hard coded and configurable. Is there a better (more dynamically) way of how to find out if a sent item comes from a shared inbox folder? Any help would be great Thanks! Marc |
#3
|
|||
|
|||
![]()
Hi Ken,
This is correct. But if I got more than one shared mailboxes, I would have to iterate through every mailbox to check if it's a shared mailbox to identify the correct sent items folder to move my sent mail item to. Also how can I determine which sender name belongs to a mailbox? Thanks Marc On 7 Nov., 16:10, "Ken Slovak - [MVP - Outlook]" wrote: If the sender name and/or email address doesn't match what it normally is in your Sent Items folder then it meets your criteria. I think that's about the best way to do your tests. -- 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 wrote in message ... Hi, If you got mailboxes shared between people over the network and after you’ve granted the users send-as, it all works great except the fact that the messages the users sends from the shared mailbox, ends up in the users own (default) Sent Items folder. I have just created a tiny outlook Add-In that moves sent items to a specific folder (shared sent items folder in my case). Every time a new item is being added to my sent items folder I have to check for the sender name to determine if this item has been sent from a shared inbox folder or not... at the moment this is hard coded and configurable. Is there a better (more dynamically) way of how to find out if a sent item comes from a shared inbox folder? Any help would be great Thanks! Marc |
#4
|
|||
|
|||
![]()
There are no explicit properties to tell you if a mailbox is shared or your
own mailbox unless you are using Outlook 2007. In that case you can use the Store.ExchangeStoreType and your primary mailbox would be OlExchangeStoreType.olPrimaryExchangeMailbox. Shared mailboxes would be OlExchangeStoreType.olExchangeMailbox. You iterate the Stores collection and check the type of each. If you use Redemption (www.dimastr.com/redemption) you can use the RDOStore.StoreKind property. In that case you get TxStoreKind.skPrimaryExchangeMailbox for the primary mailbox and TxStoreKind.skDelegateExchangeMailbox for shared mailboxes. For the sender name the easiest way is to parse out the name from the mailbox name. -- 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 wrote in message ... Hi Ken, This is correct. But if I got more than one shared mailboxes, I would have to iterate through every mailbox to check if it's a shared mailbox to identify the correct sent items folder to move my sent mail item to. Also how can I determine which sender name belongs to a mailbox? Thanks Marc |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OL2007 - determine if shared calendar folder has been cached | Tadwick | Outlook and VBA | 1 | November 7th 08 10:03 AM |
Determine the source from an item with VB.Script | Oskar Vaia | Outlook - Using Forms | 1 | August 14th 08 03:38 AM |
Determine if an Item is New | dch3 | Outlook - Using Forms | 1 | July 26th 07 04:17 AM |
Newbie question: How to copy an email item from inbox to a folder | Marceepoo | Outlook and VBA | 1 | November 1st 06 07:54 PM |
Determine if a Folder contains a UserProperty | Rog | Add-ins for Outlook | 3 | April 10th 06 06:54 PM |