Getting User email address

Add-in Express™ Support Service
That's what is more important than anything else

Getting User email address
 
Rup Go




Posts: 64
Joined: 2007-03-01
Hi,

is there a way for me to get the current user's log-in email address? thanks

Rup
Posted 01 Apr, 2007 22:52:15 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Rup.

Please look at the following example:
http://www.add-in-express.com/projects/olgetsmtpaddressexample.zip


P.S. Note that we take up your forum requests in the order we receive them. Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 02 Apr, 2007 12:50:16 Top
Rup Go




Posts: 64
Joined: 2007-03-01
Hi Sergey.

i tried it out and when i click the button, GET SMTP... i just get a blank popup window?

i should had retrieved email@host.com of the current login user right?

thanks
Posted 02 Apr, 2007 21:34:34 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Rup.

Sorry, the example is designed for Exchange.
Please try to use the CurrentUser property of the Outlook._NameSpace interface to get the recipient. Then you can use the Address property of the recipient to obtain the address of the user.
Posted 03 Apr, 2007 09:33:02 Top
Rup Go




Posts: 64
Joined: 2007-03-01
Thanks Sergey! Got it
Posted 04 Apr, 2007 02:04:29 Top