How do I get all my addresses?

D

dorutzu

Hi,

Could you please tell me how do I get(programatically :) a list of
ALL the e-mail addresses I have in Outlook under "E-mail Accounts" (my
own addresses), and how do I send an e-mail from each of them to a
certain address (let's say [email protected])?

Thanks,
Doru
 
S

Sue Mosher [MVP-Outlook]

You'd have to get this information from the undocumented registry entries
under the Windows Messaging Subsystem key that hold the Outlook profile
information in most versions.

To send mail from a particular account, you'd have to use CommandBars
techniques to programmatically click the toolbar command -- see
http://www.outlookcode.com/d/tips/commandbarfun.htm
 
Top