How to get CurrentUser email address in Outlook 2003 without security message?????

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Hi,
My problem is: I'm programming add-in and setting moOL = Application.
Then I need to get the user's email(SMTP). If I'm useing then
moOL.Session.CurrentUser.Address, its not returning SMTP email
address. If I'm using then MAPI.Session.CuurentUser.Fields, even there
is NewSession:=False, it still pop-ups the security warning.
Is anybody knew how to avoid the security warning ?

Thanks,

Mikhail
 
Back
Top