Using the Notification Sample Application

Using the Notification Sample Application

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

To use the Notification Sample Application, navigate to the \Program Files\Exchange SDK\SDK\Samples \Notification\NotificationSample\bin\Release\ directory, or the directory where the application was built, and double-click the NotificationSample.exe file icon. This application must be run on a computer where the Microsoft® .NET Framework is installed. Because the user's credentials are authenticated on the Microsoft Exchange server, the user must have access to resources on the Exchange server to use the application. The Notification Sample Application is designed to handle only one subscription at a time. Before subscribing to a different resource, you must first remove the current subscription.

The following illustration shows the Notification Sample Application.

The screen shot shows the Notification Sample Application with the On new mail notification selected.

To subscribe to a resource

  1. Enter the Uniform Resource Identifier (URI) of the resource that you want to subscribe to in the URI text box.

  2. Enter the user name, password, and domain credentials of a user who has access to this URI in the User Name, Password, and Domain text boxes.

  3. Select the notification type from the Select notification type drop-down list. The Delete, Update, and Update/Newmember notifications can be selected for a mail or public folder or a resource. The On new mail notification should be selected for a mailbox folder, although it can be selected for a public folder, as well.

    Note  If a message is deleted from an inbox using Microsoft Outlook® or Outlook Web Access, the inbox will not raise a delete event, because Outlook actually moves messages from the Inbox to the Deleted Items folder. If a message is posted to a folder, then a new mail event will not be raised.

  4. Click Subscribe to URI. This will create a subscription on the resource and the application will display a message when an event notification has been received.

To unsubscribe from a resource

  1. Click Unsubscribe from URI.

To minimize the application window

  1. Click Close window (keep active).

    Or

  2. Click the close button in the upper right corner of the application window. This will minimize the application to the system tray.

To maximize the application window

  1. Right-click the application icon in the system tray.
  2. Click Manage application.
  3. The application window maximizes.

To view the URI location

  1. Right-click the application icon in the system tray.
  2. Click View URI location.
  3. A browser window running Outlook Web Access will open and connect to the resource URI.

To close the application

  1. Click Shut down application.

    Or

  2. Right-click the application icon in the system tray.

  3. Click Exit application.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.