Re: [otlkcon-devel] ICalStreamToMessage()

2007-06-27 Thread Michael Sheldon
On Tue, 26 Jun 2007 09:41:56 -0700 (PDT)
Kervin L. Pierre [EMAIL PROTECTED] wrote:

   Any ideas what I might be doing wrong? Are there
  some iCal properties
  that MIMEDIR requires which I'm missing?
  
 
 It's been a while, but I have seen the
 MIMEDIR stuff choke on a lot of valid
 iCalendar.  I'm working on getting my
 testing environment back up, so I'll
 take a look at it then.

 I've found what I was doing wrong now, for anyone interested the
ICalStreamToMessage() function won't process raw VEVENTs, they have to
be encapsulated inside a VCALENDAR.

 Cheers,
  Michael.

-- 
Michael Sheldon

Tel.: +49 (0)21 61 / 46 43 197

credativ GmbH, HRB Mönchengladbach 12080
Hohenzollernstr. 133, 41061 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
otlkcon-devel mailing list
otlkcon-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/otlkcon-devel


[otlkcon-devel] ICalStreamToMessage()

2007-06-26 Thread Michael Sheldon
Hi Kervin,

On Mon, 25 Jun 2007 21:02:52 -0700 (PDT)
Kervin L. Pierre [EMAIL PROTECTED] wrote:

 Hello,
 
 I just check in the c-client library
 into the source tree.
 
 It would be great if someone would pick
 up some of the libical integration
 tasks.

 I took a little look at this but wasn't able to make much progress.
I've since temporarily switched to using Outlook 2003 so I can focus on
getting the Kolab driver working. On that note, I'm having trouble with
the MIMEDIR based iCal importing, the ICalStreamToMessage() call
returns E_FAIL when asked to process the following iCal string:

BEGIN:VEVENT
UID:ae777838ea40ec854531819c2cb5f509
SUMMARY:test19 from horde
DTSTART:20070626T10Z
DUE:20070626T10Z
DTEND:20070626T11Z
CREATED:20070626T114112Z
LAST-MODIFIED:20070626T114112Z
DESCRIPTION:test19 from horde
END:VEVENT

 Any ideas what I might be doing wrong? Are there some iCal properties
that MIMEDIR requires which I'm missing?

 
 Best regards,
 Kervin
 
 
 --- Michael Sheldon [EMAIL PROTECTED]
 wrote:
 
  Hi Kervin,
  
   In the near future though, I'm actually
   looking into moving all iCal operations
   to libical.
   
   Do you have anytime you can put towards
   this?
  
   I'm happy to help where I can, however I'm not very
  familiar with
  development under Windows (I primarily work with
  GNU/Linux), this is the
  first time I've used Visual Studio to any great
  degree and my knowledge
  of MAPI is only what I've picked up from playing
  with otlkcon, so I
  don't know how much use I'll be.
  
   What 'wire' protocol would Kolab speak?
   is it documented?
  
   Kolab works by storing simple XML documents on an
  IMAP server.
  Unfortunately it does depend on a draft IMAP
  extension (ANNOTATEMORE),
  which is only provided by a small number of IMAP
  libraries and servers.
  The specification for the Kolab file format is
  available from
  http://www.kolab.org and of course the IMAP protocol
  is widely
  documented.
  
   I'm using the open source IMAP c-client library
  with otlkcon to
  provide IMAP support (with ANNOTATEMORE), I have
  things working to the
  extent where otlkcon will happily retrieve Kolab
  calendar messages from
  the IMAP server and parse a few of their details in
  to iCal strings for
  otlkcon to then convert in to Mapi objects.
  Unfortunately this
  incompatibility with Outlook 2007 prevents me from
  going much further,
  but once this is solved it should be fairly trivial
  to finish up the
  parsing for all elements and implement message
  writing.
  
   Once this is completed there are some further
  changes I'd like to try
  making it possible to have multiple calendars
  created from a single
  account (if this isn't already possible), because
  with a Kolab system
  it's normal for users to share quite a few calendars
  with one another
  or to have globally shared calendars (simply a
  matter of setting IMAP
  ACLs on the respective mailboxes). Any input on this
  is of course
  welcome.
  
   Thanks,
Michael.
  
   
   Best regards,
   Kervin
   
   
   --- Michael Sheldon [EMAIL PROTECTED]
   wrote:
   
 Hi,

  I'm attempting to hack together a Kolab driver
  for
the open
connector and I'm testing with Outlook 2007.
Uunfortunately when otlkcon
attempts to turn my iCal strings in to Mapi
  objects
I get a runtime
error. This is caused by otlkcon attempting to
  use
MapiCvt from
MIMEDIR.DLL, which as far as I can tell this is
  an
undocumented
function that has had it's usage changed between
Outlook 2003 and
Outlook 2007.

 How might I go about making otlkcon compatible
  with
Outlook 2007? 

 Thanks,
  Michael Sheldon.

-- 
Michael Sheldon

Tel.: +49 (0)21 61 / 46 43 197

credativ GmbH, HRB Mönchengladbach 12080
Hohenzollernstr. 133, 41061 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz 

   
  
 
 -
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2
express and take
control of your XML. No limits. Just data. Click
  to
get it now.
http://sourceforge.net/powerbar/db2/
___
otlkcon-devel mailing list
otlkcon-devel@lists.sourceforge.net
   
  
 
 https://lists.sourceforge.net/lists/listinfo/otlkcon-devel

   
  
  
  -- 
  Michael Sheldon
  
  Tel.: +49 (0)21 61 / 46 43 197
  
  credativ GmbH, HRB Mönchengladbach 12080
  Hohenzollernstr. 133, 41061 Mönchengladbach
  Geschäftsführung: Dr. Michael Meskes, Jörg Folz 
  
 


-- 
Michael Sheldon

Tel.: +49 (0)21 61 / 46 43 197

credativ GmbH, HRB Mönchengladbach 12080
Hohenzollernstr. 133, 41061 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz 

-
This SF.net email is sponsored