Re: create folder in public folders using Exchange SDK and C#
- From: "None" <parveen.beniwal@xxxxxxxxx>
- Date: 6 Jul 2006 02:57:39 -0700
hi Henning
thanx for ur great help. I am in requirement to make new objects
for the messages i mean CDO.message and want to put them in the public
exchange folder as the .eml file how i can do that ? Please help me its
urgent
Thanx in advance
Regards
Parveen Beniwal
Henning Krause wrote:
Hello,
you must run the regevent.vbs script directly on the Exchange server,
because it uses the ExOLEDB provider, which can only be used locally.
As for the installation of the COM+ component, don't use regasm. Use
regsvcs.exe instead. This will create the COM+ application automatically.
See http://www.infinitec.de/articles/exchange/managedeventsinks.aspx.
Best regards,
Henning Krause
"Parv" <Parveen.Beniwal.Daffodil@xxxxxxxxx> wrote in message
news:1152169820.757739.97330@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi henning
i am executing the script on my development PC. I want that while
installing setUp of my program to register this eventsink on the target
server. is it possible ? if yes then how ? and if not then what is
other option for me ?
for the second one what shd be the exact procdure ?
i have created a registery key using
regasm MyEventSink.dll /regfile:MyEventSink.reg
copied this on the target server and then start the com
application. But my event is still not firing. What may be the reason
or what i am doing wrong.
Henning Krause wrote:
Hello,
are you running the registration script directly on the Exchange Server?
Is you eventsink property registered as a COM+ application?
Best regards,
Henning Krause
"Parv" <Parveen.Beniwal.Daffodil@xxxxxxxxx> wrote in message
news:1152161981.845045.327230@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello
I have written a class implementing the IExStoreAsyncEvents but
while regstering it using the
cscript RegEvent.vbs add "onsave;ondelete" MyEventSink.ExchEventSink
file://./backofficestorage/server.Homevines.com/mbx/parveen.beniwal -p
100 -m deep
i am getting following error
Error Opening Connection : 3706 Provider cannot be found. It may not be
properly installed.
Please help me its urgent.
Regards
Parveen Beniwal
Henning Krause wrote:
Hello,
you can use a global eventsink (OnSyncSave / OnSyncDelete). This way,
you
would get your notifications on a store-wide base. If you are only
interested in modifications on a one-level base, you can use normal
event
sinks. See http://msdn.microsoft.com/exchange for more information.
Best regards,
Henning Krause
"Parv" <Parveen.Beniwal.Daffodil@xxxxxxxxx> wrote in message
news:1151986098.377153.179780@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hi
yes, You are right i want me to intimate whenever any mail or
folder is deleted or inserted in the public mail folders.
Regards
Parveen Beniwal
Henning Krause wrote:
Hello,
I don't know if I understand you correctly. Do you (or a program
respectively) want to get notified if someone creates or deletes a
folder
on
your server?
Best regards,
Henning Krause
"Parv" <Parveen.Beniwal.Daffodil@xxxxxxxxx> wrote in message
news:1151929923.022609.318550@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello Henning
One more favour..... Can you guide me how to add listener
to
intimate me on adding or deleting any mail from a exchange store
folder
?
Regards
Parveen Beniwal
Henning Krause wrote:
Hello Parv,
a collision error could indicate that there already exists a
folder
with
the
new name of the folder.
Best regards,
Henning Krause
"Parv" <Parveen.Beniwal.Daffodil@xxxxxxxxx> wrote in message
news:1151920216.044015.227800@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
i am trying to rename folder Test by the following
Folder oFD = (Folder)oFolders.get_Item("Test");
oFD.Name = "newName";
but i am getting following exception while doing so
System.Runtime.InteropServices.COMException (0x80040604):
[Collaboration Data Objects - [MAPI_E_COLLISION(80040604)]]
at System.RuntimeType.ForwardCallToInvokeMember(String
memberName,
BindingFlags flags, Object target, Int32[] aWrapperTypes,
MessageData&
msgData)
at Interop.cdo.Folder.set_Name(Object )
at MyEventSink.GetPublicFolders.Main(String[] args)
What is wrong here ?
Regards
Parveev Beniwal
Parv wrote:
Hi Henning
Is there any way to rename a folder in your assembly.
Regards
Parveev Beniwal
.
- Follow-Ups:
- Re: create folder in public folders using Exchange SDK and C#
- From: Henning Krause
- Re: create folder in public folders using Exchange SDK and C#
- References:
- Re: create folder in public folders using Exchange SDK and C#
- From: Parv
- Re: create folder in public folders using Exchange SDK and C#
- From: Parv
- Re: create folder in public folders using Exchange SDK and C#
- From: Henning Krause
- Re: create folder in public folders using Exchange SDK and C#
- From: Parv
- Re: create folder in public folders using Exchange SDK and C#
- From: Henning Krause
- Re: create folder in public folders using Exchange SDK and C#
- From: Parv
- Re: create folder in public folders using Exchange SDK and C#
- From: Henning Krause
- Re: create folder in public folders using Exchange SDK and C#
- From: Parv
- Re: create folder in public folders using Exchange SDK and C#
- From: Henning Krause
- Re: create folder in public folders using Exchange SDK and C#
- From: Parv
- Re: create folder in public folders using Exchange SDK and C#
- From: Henning Krause
- Re: create folder in public folders using Exchange SDK and C#
- Prev by Date: Re: create folder in public folders using Exchange SDK and C#
- Next by Date: Re: create folder in public folders using Exchange SDK and C#
- Previous by thread: Re: create folder in public folders using Exchange SDK and C#
- Next by thread: Re: create folder in public folders using Exchange SDK and C#
- Index(es):
Relevant Pages
|
Loading