| Author |
Message |
Lukas Pfeiffer
Guest
|
Posted:
Wed Jan 05, 2005 10:58 pm Post subject:
save messages to disc via .NET |
|
|
Hello,
I want to save specific Exchange 2003 store objects (messages, tasks,
calendar ...) as *.msg to a folder on the server's file system (via WebDAV,
ADO, ExOleDB ...?) using .NET.
Like "Save As..." in Outlook but programmatically on the server itself.
How can I do that? Do you have some online resources, tutorials, code
examples?
Thanx!
regards,
Lukas
|
|
| Back to top |
|
 |
Michael
Guest
|
Posted:
Thu Jan 06, 2005 1:14 am Post subject:
Re: save messages to disc via .NET |
|
|
You can use WebDAV protocol and GET method.
Create an input stream to read from an Exchange item and save this item to
file system.
Michael
-------------------------------
If you need WebDAV API for Exchange server,
use our component WebDAV .NET for Exchange.
Check out http://www.independentsoft.com
"Lukas Pfeiffer" <nobody@descience.at> wrote in message
news:#aeCWf08EHA.3616@TK2MSFTNGP11.phx.gbl...
| Quote: | Hello,
I want to save specific Exchange 2003 store objects (messages, tasks,
calendar ...) as *.msg to a folder on the server's file system (via
WebDAV,
ADO, ExOleDB ...?) using .NET.
Like "Save As..." in Outlook but programmatically on the server itself.
How can I do that? Do you have some online resources, tutorials, code
examples?
Thanx!
regards,
Lukas
|
|
|
| Back to top |
|
 |
Glen Scales [MVP]
Guest
|
Posted:
Thu Jan 06, 2005 3:58 am Post subject:
Re: save messages to disc via .NET |
|
|
If you want to save them as MSG compound files then you need to look at
using Exmapi. Currently the only way to use Exmapi is to use C ++ to do this
there is a KB with a sample on this
http://support.microsoft.com/?kbid=171907 . If you want to use .NET there's
an open source ExMapi project out there creating a wrapper
http://www.mapi33.adexsolutions.com/ . Or you might want to look at using
Outlook and Redemption http://www.dimastr.com/redemption/
Cheers
Glen
"Lukas Pfeiffer" <nobody@descience.at> wrote in message
news:%23aeCWf08EHA.3616@TK2MSFTNGP11.phx.gbl...
| Quote: | Hello,
I want to save specific Exchange 2003 store objects (messages, tasks,
calendar ...) as *.msg to a folder on the server's file system (via
WebDAV, ADO, ExOleDB ...?) using .NET.
Like "Save As..." in Outlook but programmatically on the server itself.
How can I do that? Do you have some online resources, tutorials, code
examples?
Thanx!
regards,
Lukas
|
|
|
| Back to top |
|
 |
Lukas Pfeiffer
Guest
|
Posted:
Thu Jan 06, 2005 2:29 pm Post subject:
Re: save messages to disc via .NET |
|
|
Thank you all for quick response - I will try it ...
Lukas
"Lukas Pfeiffer" <nobody@descience.at> schrieb im Newsbeitrag
news:%23aeCWf08EHA.3616@TK2MSFTNGP11.phx.gbl...
| Quote: | Hello,
I want to save specific Exchange 2003 store objects (messages, tasks,
calendar ...) as *.msg to a folder on the server's file system (via
WebDAV, ADO, ExOleDB ...?) using .NET.
Like "Save As..." in Outlook but programmatically on the server itself.
How can I do that? Do you have some online resources, tutorials, code
examples?
Thanx!
regards,
Lukas
|
|
|
| Back to top |
|
 |
|
|
|
|