A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Send emails to an access database?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 10th 08, 03:20 AM posted to microsoft.public.outlook.program_vba
tbrown7777
external usenet poster
 
Posts: 2
Default Send emails to an access database?

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
  #2  
Old December 10th 08, 02:55 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Send emails to an access database?

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


  #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



  #4  
Old December 16th 08, 02:37 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Send emails to an access database?

So save the items to the file system to a temporary location as MSG files.
Then take those saved MSG files and add them to your database as binary
blobs.

--
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
...
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.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to monitor emails and send info to access database melmac Outlook and VBA 3 August 27th 08 11:49 AM
Store individual emails into an MS Access database hb21l5 Outlook and VBA 4 September 19th 07 07:16 PM
using an Access database as a Contacts source bob Outlook and VBA 2 November 6th 06 08:58 PM
Access Database lordjeffj Outlook and VBA 2 June 28th 06 10:46 PM
how do i create a database in access ogaz Outlook - General Queries 1 March 22nd 06 05:55 AM


All times are GMT +1. The time now is 10:39 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.