problem getting the SMTP address (Outlook 2003)

M

Mikhail

Hi,
I need to get the SMTP address of the CurrentUser. To do that I'm creating
the oSession object out of MAPI.Session:
Set oSession = New MAPI.Session
oSession.Logon NewSession:=False, showDialog:=False
But, line:
set obj = oSession.CurrentUser
triggered the security warning message in v. 2003 (v. 2000 and v. XP works
OK)

How to get the SMTP address without this message?

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top