Code to Save Email as an .MSG to Directory when Emails Arrive

J

John

I am trying to save all emails that come into the inbox as an .MSG to a
directory on the server. I saw the ability to utilize the SAVEAS method but
have no idea how to implement that to work as emails arrive. Any code help
would be greatly appreciated.

Thanks in advance
John
 
J

John

Hey Michael,

Sounds great...I change the path to a network path does it matter which way
that I put the path should it be hard coded like \\ServerName\Folder or
should it be like P:\Folder is the Drive is mapped on the computer running
outlook. For some reason I am not getting an error message but it is not
putting the file in the folder. When I tried to do it as a test to my
C:\Temp I actually got a permissions error for some reason.

Thanks again for all your help
 
J

John

Hey Michael,

Disregard my message I figured out my error. Thanks so much for you help it
works perfectly.

Have a great one!

John
 

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