Glen Scales [MVP]
Guest
|
Posted:
Wed Nov 23, 2005 1:58 am Post subject:
Re: Event sink |
|
|
You could use a simple on store event sink see the exchange SDK for more
details. All you need to do in your code is use CDOEX, the attachments
collection of a message object and the savetofile method. eg
savepath = "c:\temp\"
Set msgobj = CreateObject("CDO.Message")
msgobj.DataSource.Open bstrURLItem
For Each objAttachment In msgobj.Attachments
savefile = savepath
savefile = savefile & objAttachment.filename
objAttachment.SaveToFile savefile
next
set msgobj = nothing
Cheers
Glen
"Achill" <achill@community.nospam> wrote in message
news:OQiOGw27FHA.1820@TK2MSFTNGP10.phx.gbl...
| Quote: | Hello, All !
How can the following task be realised at the Exchange 2003: it is needed
that among the e-mail sent to the apppropriate addressee, the attachments
to be saved to the appropriate folder on the server. The rules in Outlook
can not solve this task as they work at the side of client.
With best regards, Achill.
|
|
|