View Single Post
  #3  
Old December 16th 08, 04:44 AM posted to microsoft.public.outlook.program_vba
tbrown7777
external usenet poster
 
Posts: 2
Default Send emails to an access database?

I would like to save the entire email with attachments. The problem with the
files, is that it's much more difficult to find what your looking for sifting
through titles. I took the preview forgranted! In fact, trying to sit down
every Friday and clean out my inbox is a chore too. I would like to write
some code to ask me where I want to file it. My only choice right now is in
a file buried on my hardrive.



"Ken Slovak - [MVP - Outlook]" wrote:

What do you want to save to Access, data from the emails or the actual
emails? Those would have to be stored as some sort of binary blob and then
you'd need code to retrieve them and read them as Outlook items. It might be
easier to just save the items to the file system in specific folders and
append numbers to the files if they have subjects that are already in the
folders as files.

So if you find a "Foobar" in that folder you make the new item "Foobar1", if
you have "Foobar1" there you make the new item "Foobar2".

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"tbrown7777" wrote in message
news
My company recently banned pst files and will only allow emails to be
stored
for 90 days (damn those lawyers) in my inbox. I was wondering if anyone
had
any ideas how I could go about running a macro and have it save the file
into
an access database? the pain i'm having is that when I have several email
messages come in for a project I'm working on, they all have the same
title
and won't save to my hardrive without renaming them. Hence the need for a
macro. If I categorized them based on my old pst directories, i think i
can
make it really cool. I hate having to sort through hundreds of emails and
file them every weekend!! If anyone has any ideas, I'd appreciate it.

thanks,
Tim



Ads