Examples Each of the following examples illustrate how one or more of the use cases described in section can be combined to achieve specific end-user results. The examples show how the Microsoft Exchange Server system can be used for specific messaging tasks that map to real-life end-user scenarios. These examples are not meant to be exhaustive. However, many of these examples, once understood, can be applied to other similar real-life scenarios. To reduce the complexity of the examples, each example is demonstrated using the protocol (for example, RPC or Exchange ActiveSync) that is most commonly used for the scenario in that example. In some cases, the same outcome can be achieved using other supported protocols as indicated in the use cases section, but these alternate methods will not be included in the example. The following system-level examples are provided in this document: Display the most recent message in the inbox Compose and send an e-mail message with an attachment Set and display new mail notifications Create an appointment request using free-busy data Provision and synchronize a mobile client device for the first time Example 1: Display the Most Recent Message in the Inbox Synopsis This example illustrates how the Microsoft Exchange system can be used to access an Inbox folder and display the newest message in it. Note This example uses the RPC protocol. Use Cases Server information discovery (section ) Log on to a mailbox (section ) Open a folder (section ) Find items in a folder that match search criteria (section ) Entities Involved An Exchange server (server) An RPC-enabled client (client) Preconditions The Exchange server is available to accept client requests. The client has credentials for a valid mailbox account.
Examples Each of the following examples illustrate how one or more of the use cases described in section can be combined to achieve specific end-user results. The examples show how the Microsoft Exchange Server system can be used for specific messaging tasks that map to real-life end-user scenarios. These examples are not meant to be exhaustive. However, many of these examples, once understood, can be applied to other similar real-life scenarios. To reduce the complexity of the examples, each example is demonstrated using the protocol (for example, RPC or Exchange ActiveSync) that is most commonly used for the scenario in that example. In some cases, the same outcome can be achieved using other supported protocols as indicated in the use cases section, but these alternate methods will not be included in the example. The following system-level examples are provided in this document: Display the most recent message in the inbox Compose and send an e-mail message with an attachment Set and display new mail notifications Create an appointment request using free-busy data Provision and synchronize a mobile client device for the first time Example 1: Display the Most Recent Message in the Inbox Synopsis This example illustrates how the Microsoft Exchange system can be used to access an Inbox folder and display the newest message in it. Note This example uses the RPC protocol. Use Cases Server information discovery (section ) Log on to a mailbox (section ) Open a folder (section ) Find items in a folder that match search criteria (section ) Entities Involved An Exchange server (server) An RPC-enabled client (client) Preconditions The Exchange server is available to accept client requests. The client has credentials for a valid mailbox account.