Automatically Saving Attachments
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
Automatically Saving Attachments

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
Bob White
Guest





Posted: Sat Aug 13, 2005 8:44 am    Post subject: Automatically Saving Attachments Reply with quote

One of our suppliers is sending us data on some of the products we purchase
as rows of data in an Excel workbook. We would like to automatically
process each of these workbooks and add the data to a SQL Server database.

I need to create a server-side rule that saves these attachments to a
folder, either on the network or as a public folder in Exchange. The rule
needs to be able to run without me being logged into the network. I didn't
see an option in the Rules Wizard for "Save attachments to specific
folder". Am I going to have to write a script to do this?

If the folder is one of Exchange's Public Folders, how to I refer to it
when I tell SQL Server to get the attachments?

Once I get the workbooks stored to a network folder somewhere, I know how
to handle the data from there.

Thanks for any advice or hints!

Bob

Back to top
Henning Krause [MVP - Exc
Guest





Posted: Sat Aug 13, 2005 2:48 pm    Post subject: Re: Automatically Saving Attachments Reply with quote

Hello,

which version of Exchange are you running?

Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de


"Bob White" <bob@thecovey.homeip.net> wrote in message
news:Xns96B0F18075C4Arwhite4triadrrcom@207.46.248.16...
Quote:
One of our suppliers is sending us data on some of the products we
purchase
as rows of data in an Excel workbook. We would like to automatically
process each of these workbooks and add the data to a SQL Server database.

I need to create a server-side rule that saves these attachments to a
folder, either on the network or as a public folder in Exchange. The rule
needs to be able to run without me being logged into the network. I
didn't
see an option in the Rules Wizard for "Save attachments to specific
folder". Am I going to have to write a script to do this?

If the folder is one of Exchange's Public Folders, how to I refer to it
when I tell SQL Server to get the attachments?

Once I get the workbooks stored to a network folder somewhere, I know how
to handle the data from there.

Thanks for any advice or hints!

Bob
Back to top
Bob White
Guest





Posted: Sat Aug 13, 2005 4:58 pm    Post subject: Re: Automatically Saving Attachments Reply with quote

"Henning Krause [MVP - Exchange]" <newsgroups.remove@this.infinitec.de>
wrote in news:#EzGFy#nFHA.2916@TK2MSFTNGP14.phx.gbl:
Hello,

Henning, I *believe* we're running 2000. I'm not in the IT group, so I
don't know for certain. We're in the process of implementing Sharepoint,
and are rolling out Office 2003 company-wide this fall, so it is possible
the server is already at 2003. How can I determine this?

Thanks,

Bob

Quote:
Hello,

which version of Exchange are you running?

Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de



Back to top
Henning Krause [MVP - Exc
Guest





Posted: Mon Aug 15, 2005 10:59 pm    Post subject: Re: Automatically Saving Attachments Reply with quote

Hello Bob,

it is not important whether you have 2000 or 2003... as long as you do not
have 5.5 installed :-)

You can implement the OnSave Eventsink and register it on the public folder
or the inbox folder of the mailbox where you receive your workbooks. Within
the eventsink, you can open the saved message with CdoEx and save the
attachments to disk. See
http://msdn.microsoft.com/library/en-us/e2k3/e2k3/_exch2k_implementing_asynchronous_event_sinks.asp
and
http://msdn.microsoft.com/library/en-us/e2k3/e2k3/_esdk_reference_cdoex.asp
for more information on this.

Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de


"Bob White" <bob@thecovey.homeip.net> wrote in message
news:Xns96B15D454FC53rwhite4triadrrcom@207.46.248.16...
Quote:
"Henning Krause [MVP - Exchange]" <newsgroups.remove@this.infinitec.de
wrote in news:#EzGFy#nFHA.2916@TK2MSFTNGP14.phx.gbl:
Hello,

Henning, I *believe* we're running 2000. I'm not in the IT group, so I
don't know for certain. We're in the process of implementing Sharepoint,
and are rolling out Office 2003 company-wide this fall, so it is possible
the server is already at 2003. How can I determine this?

Thanks,

Bob

Hello,

which version of Exchange are you running?

Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de

Back to top
Bob White
Guest





Posted: Thu Aug 18, 2005 7:17 am    Post subject: Re: Automatically Saving Attachments Reply with quote

Henning,

"Henning Krause [MVP - Exchange]" <newsgroups.remove@this.infinitec.de>
wrote in news:eFkSiOcoFHA.2916@TK2MSFTNGP14.phx.gbl:

Quote:
Hello Bob,

it is not important whether you have 2000 or 2003... as long as you do
not have 5.5 installed :-)

I asked, we're up to 2003.

Quote:

You can implement the OnSave Eventsink and register it on the public
folder or the inbox folder of the mailbox where you receive your
workbooks. Within the eventsink, you can open the saved message with
CdoEx and save the attachments to disk. See
http://msdn.microsoft.com/library/en-us/e2k3/e2k3/_exch2k_implementing_
asynchronous_event_sinks.asp and
http://msdn.microsoft.com/library/en-us/e2k3/e2k3/_esdk_reference_cdoex
.asp for more information on this.


Thanks for the references! I'll try to figure something out. Do you have
any sample code that you could point me towards?

Thanks,

Bob
Back to top
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
Contact Us
New Topics Powered by phpBB