Sets the content of this attachment to the specified text.

Namespace:  Rebex.Mail
Assembly:  Rebex.Mail (in Rebex.Mail.dll)

Syntax

Visual Basic
Public Sub SetContent ( _
	text As String _
)
C#
public void SetContent(
	string text
)

Parameters

text
Type: System..::..String
Content to set.

Remarks

Media type is set to 'text/plain'. Character set and transfer encoding are determined automatically.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also