Hi Murray, On 19/03/14 03:48, Murray McCulligh wrote: > I’ve been looking at the MAPIProxy stackable module documentation and the > samples (primarily the Cache module) and I’ve been wondering how a module > should best issue additional EcDoRpc requests to Exchange. If during the > push hook for example I need to fetch a property from the just opened > message, how is that best done?
You have different options: 1. Update existing call: in this case you would add a property to the array to be retrieved and remove the returned value from the reply buffer. 2. Inject another call: you would just have to add a new MAPI call to the buffer and remove it when returned the output buffer to the client. Both approaches would be valid, i suppose the latter would be easier to implement and less prone errors. Check for example mpm_pack.c for an example on how to add a MAPI to the stream. Cheers, Julien. -- Julien Kerihuel [email protected] OpenChange Project Founder Twitter: http://twitter.com/jkerihuel GPG Fingerprint: 0B55 783D A781 6329 108A B609 7EF6 FE11 A35F 1F79
signature.asc
Description: OpenPGP digital signature
_______________________________________________ devel mailing list [email protected] http://mailman.openchange.org/listinfo/devel
