Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Sun, 19 Mar 2006 20:23:05 GMT,    group: microsoft.public.exchange2000.development        back       


Outlook Service - Inbox to Public Folders   
Hopefully someone can help me out here,

I've poked around at CDO, but still cant figure things out here.  Basically 
I've got a bunch of client-side rules that move messages from the Inbox to a 
public folder.  What I've been trying to do is have the rule run when I'm 
not logged in, now I've tried writing stuff in C# what uses IMAP, but 
alas...  you can't copy a message to a public folder using IMAP with 
Exchange 2000.  Does anyone have any code, know of any applications, or have 
any other ideas that could help me out?

Thanks!
date: Sun, 19 Mar 2006 20:23:05 GMT   author:   John Simpson

Re: Outlook Service - Inbox to Public Folders   
There are a number of way you could go about doing this in C# you could use 
WebDAV to get the stream of the item from the inbox and then post it to the 
public folder see 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k_getting_an_items_stream_http.asp . 
Another option is to do this in CDOEX/Exoledb locally on the server or in a 
Event sink (the advantage of this is that the copy is done the instant the 
message arrives) a disadvantage to using this method is that it changes that 
received time of the message and you also lose the mapi properties on a 
message as well so you need to include extra code to make sure these 
properties are set or copied as needed. Using MAPI is usually a better 
option although unsupported in C# eg something like this can be done with 
VBS and CDO 1.2 to copy a items from a mailbox to a public folder and via 
versa 
http://gsexdev.blogspot.com/2005/05/script-to-copy-public-folder-contacts.html .

If its just one mailbox your dealing with then setting the public folder as 
an alternate recipient (forwarding) for the email is the easiest way to 
achieve what you want to do.

Cheers
Glen

"John Simpson"  wrote in message 
news:J4jTf.162445$B94.50112@pd7tw3no...
> Hopefully someone can help me out here,
>
> I've poked around at CDO, but still cant figure things out here. 
> Basically I've got a bunch of client-side rules that move messages from 
> the Inbox to a public folder.  What I've been trying to do is have the 
> rule run when I'm not logged in, now I've tried writing stuff in C# what 
> uses IMAP, but alas...  you can't copy a message to a public folder using 
> IMAP with Exchange 2000.  Does anyone have any code, know of any 
> applications, or have any other ideas that could help me out?
>
> Thanks!
>
date: Mon, 20 Mar 2006 11:00:02 +1100   author:   Glen Scales [MVP]

Re: Outlook Service - Inbox to Public Folders   
Thanks for taking the time to reply!!!  You totally saved me, thanks!

"Glen Scales [MVP]"  wrote in message 
news:%23Io2$E7SGHA.4976@TK2MSFTNGP11.phx.gbl...
> There are a number of way you could go about doing this in C# you could 
> use WebDAV to get the stream of the item from the inbox and then post it 
> to the public folder see 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k_getting_an_items_stream_http.asp . 
> Another option is to do this in CDOEX/Exoledb locally on the server or in 
> a Event sink (the advantage of this is that the copy is done the instant 
> the message arrives) a disadvantage to using this method is that it 
> changes that received time of the message and you also lose the mapi 
> properties on a message as well so you need to include extra code to make 
> sure these properties are set or copied as needed. Using MAPI is usually a 
> better option although unsupported in C# eg something like this can be 
> done with VBS and CDO 1.2 to copy a items from a mailbox to a public 
> folder and via versa 
> http://gsexdev.blogspot.com/2005/05/script-to-copy-public-folder-contacts.html .
>
> If its just one mailbox your dealing with then setting the public folder 
> as an alternate recipient (forwarding) for the email is the easiest way to 
> achieve what you want to do.
>
> Cheers
> Glen
>
> "John Simpson"  wrote in message 
> news:J4jTf.162445$B94.50112@pd7tw3no...
>> Hopefully someone can help me out here,
>>
>> I've poked around at CDO, but still cant figure things out here. 
>> Basically I've got a bunch of client-side rules that move messages from 
>> the Inbox to a public folder.  What I've been trying to do is have the 
>> rule run when I'm not logged in, now I've tried writing stuff in C# what 
>> uses IMAP, but alas...  you can't copy a message to a public folder using 
>> IMAP with Exchange 2000.  Does anyone have any code, know of any 
>> applications, or have any other ideas that could help me out?
>>
>> Thanks!
>>
>
>
date: Mon, 20 Mar 2006 07:18:33 GMT   author:   John Simpson

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us