Display (not set) default mail account

  • Thread starter Thread starter Mark Tangard
  • Start date Start date
M

Mark Tangard

After much Googling I've learned you can't change the default email account
using VBA. Is there, however, a way to make VBA *display* the name of the
default email account -- in a MsgBox, on a status bar, a button caption, etc?

Grateful for any clues.
 
Thanks, Dmitry. This look like it'll actually lead somewhere.

MT

Dmitry said:
In Extended MAPI (C++/Delphi) - use IOlkAccountManager (see
http://msdn.microsoft.com/library/d...aIOlkAccountManager_HV01155206.asp?frame=true)

<plug>If you are using VBA, you migth want to look at the
RDOSession.Accounts collection in Redemption - see
http://www.dimastr.com/redemption/rdo/ </plug>

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top