send new unopened mail to file outside outlook

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to configure Outlook to automatically move unopened, new mail
directly to a folder outside outlook. I do not want to use any additional
software. I was wondering if a macro could accomplish this.
 
Sure it's possible. You can write all the item delivery trapping code
yourself:

How to create a custom rule using Visual Basic for Applications (VBA) in
Outlook 2002:
http://support.microsoft.com/default.aspx?scid=kb;en-us;292063

Or have some of that plumbing done for you by doing it this way:

How to create a script for the Rules Wizard in Outlook:
http://support.microsoft.com/default.aspx?scid=KB;en-us;q306108

Then all you really have to do is call the MailItem.SaveAs method, like this
for example:

objItem.SaveAs "C:\MyFolder\Myfilename.txt", olTXT
 
Back
Top