Formats an Email address

Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static string FormatEmail(
	string Email,
	bool cloak
)
Visual Basic
Public Shared Function FormatEmail ( 
	Email As String,
	cloak As Boolean
) As String

Parameters

Email
Type: System..::..String
The email address to format
cloak
Type: System..::..Boolean
A flag that indicates whether the text should be cloaked

Return Value

The formatted email address

See Also