Add all members of a role to recipient list

Namespace: DotNetNuke.Services.Mail
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public void AddAddressedRole(
	string roleName
)
Visual Basic
Public Sub AddAddressedRole ( 
	roleName As String
)

Parameters

roleName
Type: System..::..String
name of a role, whose members shall be added to recipients

Remarks

emaiol will be used for addressing, other properties might be used for TokenReplace

See Also