November 2007
Intermediate to advanced
928 pages
26h 9m
English
Up to this point in the chapter, the CreateItem and UpdateItem Web methods have been used to send messages to their recipients. Sending was accomplished by setting the MessageDisposition attribute to SendOnly or SendAndSaveCopy when making the Web method call. However, there may be times when you want to send an existing draft message without making modifications to it. CreateItem will not work in such a case since it always generates a new message. UpdateItem will work, but you must also specify a property to change as part of the call.
To cover this scenario, Exchange Web Services offers the SendItem Web method. Example 7-25 shows the basic structure of a SendItem call.
Example 7-25. Basic structure of ...