Sets the content of this attachment to the specified text.

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

Syntax

C#
public void SetContent(
	string text
)
Visual Basic (Declaration)
Public Sub SetContent ( _
	text As String _
)
Visual 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.

See Also