Re: Copy appointment to public folder C# problem



Thanks Glen,

Can I copy the mapi properties for each attachments to the new appointment?

Reg. Fred

"Glen Scales [MVP]" <gscales@xxxxxxxxxxxxxxxxxxx> wrote in message
news:OYfZIP0JJHA.4936@xxxxxxxxxxxxxxxxxxxxxxx
One of the problems of using the method where your just copying the stream
of the message is that you will loose some fidelity on the appointment
itself because this method wont copy any associated mapi properties. Using
the stream should copy the attachments over okay because they should just
be a body parts in the stream itself although you may find there where
extra MAPI properties that have been set on the attachments themselves
they maybe getting lost. What you might want to do is use a MAPI editor
like Outlook Spy or MFC mapi to look at the properties of the two
appointments and see if you can find what might be missing on the copy
otherwise you might want to look at using MAPI to copy the appointment (if
your using 2007 you can do this in EWS instead).

Cheers
Glen

"za" <z.a.one@xxxxxxxxxxxxxxxxxxx> wrote in message
news:esi%23nDgJJHA.1308@xxxxxxxxxxxxxxxxxxxxxxx
Hello,

I've made a eventsink for Exchange what works great, but I have a problem
with copying the appointment. I create a _record form the url and then I
create a _stream from the _record object and the create the duplicate
appointment. This is also working good but when there is a attchment in
the original appointment it is displayed in the duplicated appointment as
plain text and not like html. Someone got an id what I'm missing?

Regards Fred





.



Relevant Pages

  • Re: Copy appointment to public folder C# problem
    ... I've tried to copy the mapi properties and I they exists in the source ... Can I copy the mapi properties for each attachments to the new ... appointment itself because this method wont copy any associated mapi ... Using the stream should copy the attachments over okay ...
    (microsoft.public.exchange.development)
  • Re: Copy appointment to public folder C# problem
    ... Can I copy the mapi properties for each attachments to the new ... appointment itself because this method wont copy any associated mapi ... Using the stream should copy the attachments over okay ...
    (microsoft.public.exchange.development)
  • Re: Copy appointment to public folder C# problem
    ... I think with OLE attachments there is a property that gets set on the ... If you use a Mapi editor like OutlookSpy of MFCmapi you ... appointment itself because this method wont copy any associated mapi ... Using the stream should copy the attachments over okay ...
    (microsoft.public.exchange.development)
  • Re: Copy appointment to public folder C# problem
    ... You can copy any Mapi properties on the appointment using Exoledb you need ... Can I copy the mapi properties for each attachments to the new ... Using the stream should copy the attachments over okay ...
    (microsoft.public.exchange.development)
  • appstateflags - What is it?
    ... I'm writing an application which uses WebDAV and Exchange, ... mapi properties I set is appstateflags (this is for an appointment). ...
    (microsoft.public.exchange.development)

Loading