Saving Email to a DMS - Microsoft Exchange
This is a discussion on Saving Email to a DMS - Microsoft Exchange ; I'm trying to save all email sent to a single mailbox (potentially thousands
per day) to different folders in our Document Management System based on a
string found in the emails' subject and then deletes the email from the
mailbox. ...
-
Saving Email to a DMS
I'm trying to save all email sent to a single mailbox (potentially thousands
per day) to different folders in our Document Management System based on a
string found in the emails' subject and then deletes the email from the
mailbox. What would you guys recommend as the best way to do this?
Option 1: Should this be done with an event sink?
Option 2: Should this be done as a scheduled exe that reads the mailbox
every X minutes, parses the subject and writes it to the appropriate DNS
folder?
If Option 2 is the way to go, should I use WebDAV or some flavor of CDO?
The sequence of events that I forsee happening:
1. Read mailbox.
2. Open each email to read subject
3. Parse subject for classification
4. write .eml file (or .msg) with attachments to DMS (using custom code c#
2.0)
5. Delete email from inbox.
-
Re: Saving Email to a DMS
Either way will work fine doing it as a batch process should lessen the
performance impact of the code compared to an event sink if you are
processing a lot of messages. Advantage of an event sink is that its going
to be closer to real time.
What API really depends on where you want to run your code if you can run it
locally then CDOEX and Exoledb is not a bad choice if you want to run
remotely then WebDAV is a good option. If you want do anything with .msg
files then you need to use MAPI so you need to look at an interface such as
Exmapi,CDO 1.2 or the Outlook Object Model. Apart from the OOM these other
interfaces aren't supported in .NET .If you just want to use .eml then
WebDAV and CDOEX are fine.
Cheers
Glen
"Israel Derdik" <iderdik@no.spam.hotmail.com> wrote in message
news:u72sxE0$FHA.2708@TK2MSFTNGP12.phx.gbl...
> I'm trying to save all email sent to a single mailbox (potentially
> thousands per day) to different folders in our Document Management System
> based on a string found in the emails' subject and then deletes the email
> from the mailbox. What would you guys recommend as the best way to do
> this?
>
> Option 1: Should this be done with an event sink?
> Option 2: Should this be done as a scheduled exe that reads the mailbox
> every X minutes, parses the subject and writes it to the appropriate DNS
> folder?
>
> If Option 2 is the way to go, should I use WebDAV or some flavor of CDO?
>
> The sequence of events that I forsee happening:
> 1. Read mailbox.
> 2. Open each email to read subject
> 3. Parse subject for classification
> 4. write .eml file (or .msg) with attachments to DMS (using custom code c#
> 2.0)
> 5. Delete email from inbox.
>
-
Re: Saving Email to a DMS
Glen,
Thank you for the excellent and helpful reply.
Israel
"Glen Scales [MVP]" <gscales@outlookexchange.com> wrote in message
news:OMup$V3$FHA.984@tk2msftngp13.phx.gbl...
> Either way will work fine doing it as a batch process should lessen the
> performance impact of the code compared to an event sink if you are
> processing a lot of messages. Advantage of an event sink is that its going
> to be closer to real time.
>
> What API really depends on where you want to run your code if you can run
> it locally then CDOEX and Exoledb is not a bad choice if you want to run
> remotely then WebDAV is a good option. If you want do anything with .msg
> files then you need to use MAPI so you need to look at an interface such
> as Exmapi,CDO 1.2 or the Outlook Object Model. Apart from the OOM these
> other interfaces aren't supported in .NET .If you just want to use .eml
> then WebDAV and CDOEX are fine.
>
> Cheers
> Glen
>
> "Israel Derdik" <iderdik@no.spam.hotmail.com> wrote in message
> news:u72sxE0$FHA.2708@TK2MSFTNGP12.phx.gbl...
>> I'm trying to save all email sent to a single mailbox (potentially
>> thousands per day) to different folders in our Document Management System
>> based on a string found in the emails' subject and then deletes the email
>> from the mailbox. What would you guys recommend as the best way to do
>> this?
>>
>> Option 1: Should this be done with an event sink?
>> Option 2: Should this be done as a scheduled exe that reads the mailbox
>> every X minutes, parses the subject and writes it to the appropriate DNS
>> folder?
>>
>> If Option 2 is the way to go, should I use WebDAV or some flavor of CDO?
>>
>> The sequence of events that I forsee happening:
>> 1. Read mailbox.
>> 2. Open each email to read subject
>> 3. Parse subject for classification
>> 4. write .eml file (or .msg) with attachments to DMS (using custom code
>> c# 2.0)
>> 5. Delete email from inbox.
>>
>
>
Similar Threads
-
By Application Development in forum Eudora
Replies: 2
Last Post: 01-17-2006, 05:49 PM
-
By Application Development in forum Microsoft Exchange
Replies: 0
Last Post: 03-07-2005, 05:18 AM
-
By Application Development in forum Microsoft Exchange
Replies: 4
Last Post: 01-23-2004, 03:34 AM