Thank you Dmitry, the IOlkAccountManager can Set the default account, but i
still have question here.
Say A is the default account, B is another, and C send a message to B. B
should auto reply a message to C.
This is my code flow for repy message to C:
1. Set specified account(B) as default.(SetOrder)
2. Create the message and send it.
3. Restore the original account(A).(SetOrder again)
well, the problem is that How could i known when the message is already sent.
The result of my code is alway send by A. If i mark the 3. It can work(send
by B). But it is bad for that change the default account and user may don't
know that, right?
In one word, when should i do the action 3?
Thanks in advance.
Dmitry Streblechenko wrote:
The first account in the list returned by IOlkAccountManager::GetOrder
method is teh default one.
You can play with IOlkAccountManager in OutlookSpy - click Misc |
IOlkAccountManager.
--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200901/1