Current User's e-mail address

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone know how to get the e-mail address of the current user logged into Outlook?
 
I don't know the answer, but I'm sure the fine folks over at the Outlook VBA
NG will. I'm going to cross-post this reply so they get this message.

I'd like to know the answer as well.

--

RDI

(remove the exclamation from the email address)

Jerry said:
Does anyone know how to get the e-mail address of the current user logged
into Outlook?
 
Jerry,
You can use the NameSpace.CurrentUser property to find the information.

However! this will cause a security warning (to help prevent viruses) to the
user.

The following site provides a plethora of articles on using Outlook from
..NET.

http://www.microeye.com/resources/res_outlookvsnet.htm

Note, when using Outlook from .NET its best to have the PIA for Outlook
installed, which the above site discusses.

Hope this helps
Jay

Jerry said:
Does anyone know how to get the e-mail address of the current user logged
into Outlook?
 
Back
Top