Open this page in the API Guide

DeliverySettings.AddRecipient Method (String, Boolean)

Adds the recipient.

Namespace:  Dundas.BI.Notifications.Delivery
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public void AddRecipient(
	string email,
	bool isUnsubscribeAllowed
)

Parameters

email
Type: System.String
The email.
isUnsubscribeAllowed
Type: System.Boolean
If set to true, the recipient is allowed to unsubscribe.
Exceptions
ExceptionCondition
ArgumentExceptionemail is null or Empty.
InvalidRecipientTypeExceptionIf ExportUsingRecipientAccount is set to true then email address recipients cannot be used.
See Also