How to capture sent items with Outlook addin across multiple accounts

Add-in Express™ Support Service
That's what is more important than anything else

How to capture sent items with Outlook addin across multiple accounts
 
Andrei Smolin


Add-in Express team


Posts: 14115
Joined: 2006-05-11
Hi Karim,

Yes, it is essential. Your code relies on the delivery store name being equal to the account name. These names may differ. This is why you need to get the store in question using Account.DeliveryStore:

objStore := IMail.SendUsingAccount.DeliveryStore;

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 23 Feb, 2015 09:14:16 Top
Karim




Posts: 153
Joined: 2006-01-02
Hi Andrei,
I did not make attention and you have absolutely right ! Now, I think with that this all will work as I want
Thank you very much
Posted 23 Feb, 2015 09:41:15 Top
Andrei Smolin


Add-in Express team


Posts: 14115
Joined: 2006-05-11
You are welcome.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 23 Feb, 2015 09:51:08 Top