Sets body of this
CopyC# and sets the
charset attribute of Content-Type header to provided character
set. If Content-Type header is not found then a new Content-Type
header will be created with a value of text/plain.
Namespace: Jscape.Email
MimeMessage
Assembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0
Syntax
C# |
---|
public void SetBody( string body, string characterSet ) |
Visual Basic |
---|
Public Sub SetBody ( _ body As String, _ characterSet As String _ ) |
Visual C++ |
---|
public: void SetBody( String^ body, String^ characterSet ) |
Parameters
- body
- Type: System..::..String
The body contents.
- characterSet
- Type: System..::..String
The character set the body it to be set with.