Get own addresses

D

dorutzu

Hi,

Could you please tell me how do I get(programatically :) all the
e-mail addresses I have in Outlook under "E-mail Accounts" (my own
addresses)?

Thanks,
Doru
 
D

Dmitry Streblechenko \(MVP\)

You can't. You can get the default address using
Namespace.CurrentUser.Address, but all other addresses are not
programmatically accessible. Even Extended MAPi won't help as the IMAIL
provider (POP3/SMTP) is not MAPI based.

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

Doru K

one more question: is it possible to send e-mails via another address
then the default one, programatically? and if yes, how?

thanks,
doru


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Top