Re: create folder in public folders using Exchange SDK and C#



Hi Henning

Thanx, i do't want to read eml files from a public store . I want
to put files to public store by making objects of CDO.Message ( my own
self made emails ). I want to know how i can do this ?

Regards
Parveen Beniwal

Henning Krause wrote:
Hello,

when you use CDO, you should be able to create a new message and save it in
the public folder. If you retrieve it via WebDAV, you will get an EML file.
This is handled internally by the Exchange server.

Has this requirements anything to do with the store event sink?

Best regards,
Henning Krause

"None" <parveen.beniwal@xxxxxxxxx> wrote in message
news:1152179859.496340.139630@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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







.



Relevant Pages

  • Re: How to sync my pst file in laptop to Outlook in PC programatically?
    ... I work through the whole folder tree recursively? ... Simon ... > All in all that´s no easy job! ... > Viele Gruesse / Best regards ...
    (microsoft.public.outlook.program_vba)
  • Re: BITS cannot start with error 2147942403
    ... >> Event Source: Service Control Manager ... I don't see there is Downloader folder inside the Network folder, ... >> Regards, ... >> Yoong Seong ...
    (microsoft.public.sms.setup)
  • Re: create folder in public folders using Exchange SDK and C#
    ... Best regards, ... Connection exchConnection = new Connection("Daffoserver", ... Folder folder = new ... Henning Krause wrote: ...
    (microsoft.public.exchange2000.development)
  • Re: Same update keeps installing every time
    ... > difference I can see is I do not have SystemRoot folder. ... > Regards Garry ... >> Copy Folders Download and DataStore to another location ... >> Double click Automatic Updates service and click START ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Remote access to Public Folder!
    ... You need to use WebDAV and just access the ... http://schemas.microsoft.com/exchange/foldersize property of the folder you ... My Exchange Server 2003 has 4 Storage groups, ... And Each public store has 3 ...
    (microsoft.public.exchange.development)

Loading