Encodes data according to RFC 2047.

Namespace: Jscape.Email
Assembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0

Syntax

C#
public static string Encode(
	string data,
	string characterEncoding,
	int offset
)
Visual Basic
Public Shared Function Encode ( _
	data As String, _
	characterEncoding As String, _
	offset As Integer _
) As String
Visual C++
public:
static String^ Encode(
	String^ data, 
	String^ characterEncoding, 
	int offset
)

Parameters

data
Type: System..::..String
The data to encode.
characterEncoding
Type: System..::..String
The character encoding to use.
offset
Type: System..::..Int32
The number of characters to offset when calculating maximum line length of 72 characters if MIME header folding is used.

Return Value

The encoded data.

See Also