View Single Post
  #7  
Old January 8th 09, 10:45 AM posted to microsoft.public.outlook.program_addins
ryotyankou via OfficeKB.com
external usenet poster
 
Posts: 101
Default The sender problems, help me pls?

That's great, i will try it tommorrow. How can i use this interface to set
the account to send email? I find a sample on codeproject.com. It can
retrieve all accounts, but how to set the default account, the SetOrder()
function? But how could i know which one is the current default account?
Thanks very much.

Dmitry Streblechenko wrote:
You can set these properties using Extended MAPI (shouldn't be a problem if
you are using C++) - IMessage interface can be obtained through the
MailItem.MAPIOBJECT property. To retrieve the accoutn naame and id, use the
IOlkAccountManager interface.


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200901/1

Ads