M
Mark Scholes
Hi,
I have MAPI installed but no outlook and I want to get e-mails out of
the inbox and proccess them. I have it working on another machine which
has outlook on it, when the program runs it opens outlook. The first
part of the code is this.
' Zip files go to this directory and are deleted after use
strZipPath = "c:\data2\"
strLogPath = "c:\data2\Logs\"
Set mynamespace = Application.GetNamespace("MAPI")
Open strLogPath & "Log.txt" For Append As 1
What changes do I need to make it
Set mynamespace = Application.GetNameSpace("MAPI")
to stop it opening outlook and tell it which inbox to use.
Thanks MarkS
I have MAPI installed but no outlook and I want to get e-mails out of
the inbox and proccess them. I have it working on another machine which
has outlook on it, when the program runs it opens outlook. The first
part of the code is this.
' Zip files go to this directory and are deleted after use
strZipPath = "c:\data2\"
strLogPath = "c:\data2\Logs\"
Set mynamespace = Application.GetNamespace("MAPI")
Open strLogPath & "Log.txt" For Append As 1
What changes do I need to make it
Set mynamespace = Application.GetNameSpace("MAPI")
to stop it opening outlook and tell it which inbox to use.
Thanks MarkS