473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Outlook Emails in Access

I have an office of Real Estate agents who use our (single) Access 2000
database to keep track of clients. Our agents email our clients
everyday using Outlook 2000.

I'm trying to find a way to have those emails associated with the
client's record. Any ideas? All I need is a nudge in the right
direction ;)

Thank you in advance!!!

Nov 13 '05 #1
4 2727
> I have an office of Real Estate agents who use our (single) Access 2000
database to keep track of clients. Our agents email our clients
everyday using Outlook 2000.

I'm trying to find a way to have those emails associated with the
client's record. Any ideas? All I need is a nudge in the right
direction ;)


Clearly, the client's email address is the unique identifier that can be
used to associate messages with clients. So you'll need each client's email
address stored in the database and related to the customer ID. Then you can
have code that searches the PST (or any Outlook folder) for messages that
have an email address belonging to the selected client and populate a table
with whatever you want - date received, sent, body, etc. You'll need a memo
field if you want to grab the message body. I have a temp table that does
this since it makes no sense to store message info that's already stored in
Outlook. Use an "Email Search" form or something. This works well with
local PSTs, not sure otherwise. You'll need a reference to Outlook. But you
can do lots of stuff with Outlook automation. The limitation I found
frustrating is that Outlook offers no method to take you to a particular
date or message in the Inbox. So I can search my PST and view the results,
but I can't click on something and automatically go to that date or message
in the Inbox.
Nov 13 '05 #2
Thank you so very much!

We do have the email addresses in the database. We use Exchange as our
mail server and each agent has their own profile. I'm wondering if I
can have the code reference Exchange? Probably not since the mail is
not stored there. I'll have to do some digging and testing . . . I'll
break something before this is over but that's half the fun anyway :)

Thanks again!!!

Nov 13 '05 #3
but once you've attached to the Inbox, you can query the table pretty
much any way you want. (Well, except for the annoying fact that you
can't see all the fields in the Outlook inbox table). Does the user
need *all* the correspondence from the client as a permanent archive?
Then you could copy the data to the Access table. (Link to the inbox,
then use a make-table query to create a local copy). then if you
really wanted, you could grab Danny Lesandrini's "inbox watcher" code
from his website (amazecreations.com?) and have the watcher execute
code anytime you have new mail (like import the new stuff... just a
find unmatched query that you turn into an append query.) then you can
have all the work happening without intervention.

Nov 13 '05 #4
> but once you've attached to the Inbox, you can query the table pretty
much any way you want. (Well, except for the annoying fact that you
can't see all the fields in the Outlook inbox table).


Another thing I found annoying is that the From and Sender Name fields
contain the "display name" rather than the actual email address. This makes
it difficult (sometimes impossible) to associate messages with contacts.
AFAIK, there is no way around this, other than using Automation code to
inspect each message and copy matching records to a table, which is what I
suggested.
Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ronny Sigo | last post by:
Hello all, I am trying to make a program which sends emails without intervenience of the user. It works fine except the Outlook always displays two warnings with each email it is going t send :...
2
by: Bob | last post by:
Hi Everybody A tough one!!! Is there any way that incoming eMails (MailItems) into Ms Outlook can be used to automatically create records in a ms Access table or sub table. Smiley Bob
3
by: Curious George the Monkey | last post by:
Hi, I have about 20,000 emails of which about 1% of them have attached word, excel, jpeg, pdf, powerpoint files. The emails are located in about 1000 folders. The hierachy of folders is...
3
by: Strasser | last post by:
In Access2000 mass emailing worked perfectly (very powerful tool!). Doesn't work when using XP version of both Access and Outlook, even though I checked the box to ensure that I was sending the...
0
by: rcoutts | last post by:
I have a custom Access database that is a bulk mailing program for my small business to send emails to my customers (not spam!). Before sending mail, I export a folder in Outlook to an Access MDB...
7
by: Dean Spencer | last post by:
Can anyone help? I am importing Emails from Outlook using the following code: Public Function ScanInbox(SubjectLine As String) Dim TempRst As Recordset Dim OlApp As Outlook.Application Dim...
16
by: Kosmos | last post by:
Good afternoon everyone, just wondering if anyone knew if it's possible to send meetings or appointments through email when you run VBA or SQL code in Access 2003? The following is the code I've been...
2
by: obroie | last post by:
Hi all, I am trying to move emails from Outlook into an Access table, the code below worked for me before, but now I am having a problem as this error message comes up: Run-time error 438 'Object...
2
by: =?Utf-8?B?RU1jQ2FydGh5?= | last post by:
My organization currently has interfaces in place to generate MS Outlook emails from our business applications. I am trying to determine if it is possible and how difficult it might be to...
6
by: dlblack | last post by:
I am using the following code to send emails with attachments from Access using Outlook. The code works fine if Outlook is already open and emails are sent as expected via Outlook. When Outlook is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.