Send(Microsoft.SharePoint.Portal.Alerts.NotificationSite, Microsoft.SharePoint.Portal.PortalZone, System.Xml.XmlDocument, String) Method
The Send method of the EmailChannel class sends the specified alert notification to the notification queue for the specified site. This method overrides the Microsoft.SharePoint.Portal.Alerts.DeliveryChannel.Send method.
Parameters
site Reference to a NotificationSite object that represents information about the portal site for which notifications are sent.
renderLinkZone A PortalZone value that specifies the access method used for the portal site.
notification Notification text in XML format.
parameters Parameters for the notification. Parameter values was returned by the EmailChannelSettings.Parameters property.
Exceptions
Exception Type | Condition |
---|---|
ChannelOfflineException | Thrown by the Send method when an error is encountered with the SMTP server. |
CorruptedMessageException | Thrown by the Send method when an error is encountered with a specific email message. |
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security