Save email to text file daily

  • Thread starter Thread starter research_stuff
  • Start date Start date
R

research_stuff

I am currently receiving an email every day. I need to automatically
save the email to a text file every day. Is there a way to do this in
vba that can be placed in outlook?

Can anyone point me to resources to accomplish the above?


Thanks in Advance
 
Here's a sample that saves every incoming email as a *.msg file into the
file system:
http://www.vboffice.net/sample.html?mnu=2&lang=en&smp=7&cmd=showitem

In the Items_ItemAdd event you can check e.g. the item's subject and only
save specific mails. When calling SaveMailAsFile replace the olSaveAsMsg by
olSaveAsTxt to save the message as a txt file.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Quick-Cats - Categorize Outlook data:
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>


Am 31 May 2007 15:12:51 -0700 schrieb research_stuff:
 
Back
Top