DeliverySettingsAddRecipient 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 (24.3.0.1000)
Syntax
public void AddRecipient(
	string email,
	bool isUnsubscribeAllowed
)

Parameters

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