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 e-mail notification gateway.
General steps
To implement a custom notification gateway, proceed according to the following steps:
- Create a custom notification gateway form with custom inner controls for entering the target where the notification messages are sent.
- Create a custom notification gateway class which handles the loading of the appropriate notification gateway form and sending of notification messages.
- Register the custom notification gateway in the Notifications application and create a template for notification messages.
- Use the gateway with the Content subscription web part (you can find an example in Allowing users to subscribe to content change notifications).