Opening outlook

M

MarkS

Hi,
I use this code to start outlook and log on
Set mynamespace = Application.GetNamespace("MAPI")
Call mynamespace.Logon("MDFF", "", False, True)

my problem is that the inbox does not update itself from the exchange server
so it only process the mail in the inbox from the last time I opened outlook.
As I want to make this a automatic process I need to get it to update the
inbox. Any idea's, hints or anything.

thanks MarkS
 
Top