Developing custom notification gateways

This chapter describes how to create a custom notification gateway and use it on your site. The procedure is outlined using code examples representing a sample email notification gateway.

General steps

To implement a custom notification gateway, proceed according to the following steps:

  1. Create a custom notification gateway form with custom inner controls for entering the target where the notification messages are sent.
  2. Create a custom notification gateway class which handles the loading of the appropriate notification gateway form and sending of notification messages.
  3. Register the custom notification gateway in the Notifications application and create a template for notification messages.
  4. Use the gateway with the Content subscription web part (you can find an example in Allowing users to subscribe to content change notifications).