Hi All - I'm looking to be pointed in the right direction here: I need
to develop a one-off process to extract a bunch of email from an
Outlook folder, The emails are machine generated, so are all of an
identical format. I need to write a program to read all the messages
from a folder, extract fields from them (from, to, subject, body) and
write those into an Access table.
Any pointers on the way to do this? I'm a Unix C++ programmer who
knows a little about Access programming, but I don't know how I would
programatically access an Outlook email folder. I'm guessing there's
some sort of object framework for it; where do I find out about that?
TVMIA
JohnO 4 3482 Ol*******@hotmail.com (JohnO) wrote in message news:<ba**************************@posting.google. com>... Hi All - I'm looking to be pointed in the right direction here: I need to develop a one-off process to extract a bunch of email from an Outlook folder, The emails are machine generated, so are all of an identical format. I need to write a program to read all the messages from a folder, extract fields from them (from, to, subject, body) and write those into an Access table.
Any pointers on the way to do this? I'm a Unix C++ programmer who knows a little about Access programming, but I don't know how I would programatically access an Outlook email folder. I'm guessing there's some sort of object framework for it; where do I find out about that?
TVMIA
JohnO
File-> Get External Data -> Link Tables ->Choose Type (MS Exchange) ->
Specify the profile you want to look at (If I remember correctly) then
select the folder you want. Then you can query it like a native
Access table and you're done.
Pieter,
Is there a Transfer method similar to TransferSpreadsheet or TransferText to do
this?
Steve
"Pieter Linden" <pi********@hotmail.com> wrote in message
news:bf**************************@posting.google.c om... Ol*******@hotmail.com (JohnO) wrote in message
news:<ba**************************@posting.google. com>... Hi All - I'm looking to be pointed in the right direction here: I need to develop a one-off process to extract a bunch of email from an Outlook folder, The emails are machine generated, so are all of an identical format. I need to write a program to read all the messages from a folder, extract fields from them (from, to, subject, body) and write those into an Access table.
Any pointers on the way to do this? I'm a Unix C++ programmer who knows a little about Access programming, but I don't know how I would programatically access an Outlook email folder. I'm guessing there's some sort of object framework for it; where do I find out about that?
TVMIA
JohnO
File-> Get External Data -> Link Tables ->Choose Type (MS Exchange) -> Specify the profile you want to look at (If I remember correctly) then select the folder you want. Then you can query it like a native Access table and you're done. pi********@hotmail.com (Pieter Linden) wrote in message news:<bf**************************@posting.google. com>... Ol*******@hotmail.com (JohnO) wrote in message news:<ba**************************@posting.google. com>... Hi All - I'm looking to be pointed in the right direction here: I need to develop a one-off process to extract a bunch of email from an Outlook folder, The emails are machine generated, so are all of an identical format. I need to write a program to read all the messages from a folder, extract fields from them (from, to, subject, body) and write those into an Access table.
Any pointers on the way to do this? I'm a Unix C++ programmer who knows a little about Access programming, but I don't know how I would programatically access an Outlook email folder. I'm guessing there's some sort of object framework for it; where do I find out about that?
TVMIA
JohnO
File-> Get External Data -> Link Tables ->Choose Type (MS Exchange) -> Specify the profile you want to look at (If I remember correctly) then select the folder you want. Then you can query it like a native Access table and you're done.
Pieter, thanks for that - a much better solution!
"Steve" <sp**@nospam.com> wrote in message news:<ql*******************@newsread2.news.atl.ear thlink.net>... Pieter,
Is there a Transfer method similar to TransferSpreadsheet or TransferText to do this?
Steve
Steve,
I suppose you could from within Access, since it would treat the
attached table as a normal linked table... Can't you just do something
like
DoCmdTransferSpreadsheet..."olkInBox" or some such thing? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John |
last post by:
Hi
I am trying to access outlook contacts folders and delete the contacts that
do not contain a certain category value in the categories field. I have
written the below code but am stuck with...
|
by: Li Pang |
last post by:
Hi,
I wrote the following codes to read messages. They work fine for Outlook
2002 but fails for 2003. My felling it may be a bug of Outlook 2003. Anybody
has experience on that? Thanks in...
|
by: Bob |
last post by:
Hi,
I'm new to Python and I want to create a script that will import
contactitems into an Outlook Public Folder.
Therefore I've installed the Python for Windows Extensions.
This way I can...
|
by: ratnakarp |
last post by:
Is there any way i can improve on this code? If i run this application
by giving the detials of the start date and end date in the range of
15 days, it's taking 3 mins. I'm looking for a code...
|
by: Tom Becker |
last post by:
Is there a way, from Access, to programmatically click the Send and
Receive button in Outlook?
| |
by: PhilD |
last post by:
My C#.NET console app checks a public folder every 24 hours for incoming emails.
For each unread email in the folder, it copies any attachments to the network, then loads the contents of these files...
|
by: beeswax |
last post by:
Hi,
Does anyone knows how to read e-mails from a specific folders in
outlook?
I only found out how to read the mails from the inbox folder and how
to list all available folder.
I just don't...
|
by: jazeelkm |
last post by:
Hi ,
I am developing a windows application using C#. In that I want to display all the outlook profiles in a listbox and on selecting one, The folder structure should be displayed on a treeview...
|
by: davidiwharper |
last post by:
Hello all
I am trying to modify a CDO script that moves email messages out of a user's inbox and into a drop folder. I want to update it to use a Public Folder instead.
The portion of the...
|
by: infomage27 |
last post by:
I have tried scripting this with rules and VBA, now trying with C# but still failing. (code is exploratory, so please excuse the terribleness)
maybe someone here will show me the error of my...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |