On Mon, 2010-01-25 at 13:53 +0200, Toni Koski wrote:
> I have need for "normalized subject" -field in my application. I use 
> openchageclient to fetch appointment from public folder (exchange 2007 
> server).
> 
> I use following command for this:
> bin/openchangeclient --database=/tmp/profiles.ldb --profile=XXX --pf 
> --folder conferencerooms/conference1 --fetch-items=Appointment
> 
> I get nice reply from exchange -server, but real subject of appointment 
> is missing.
> So, do you have any hints or tips how I should change source code to add 
> normalizedsubject to output?

Hi Tony,

The appointment's fetching code from openchangeclient is actually
relying on the libmapi/mapidump.c function for appointment dumping.

This libmapi's code is indeed using PR_CONVERSATION_TOPIC property's
content (libmapi/mapidump.c:357) as the subject. I suggest you simply
replace PR_CONVERSATION_TOPIC to PR_NORMALIZED_SUBJECT at this line/file
and that should fix the problem.


Cheers,
Julien.


Julien Kerihuel
[email protected]
OpenChange Project Manager

GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79


Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to