MailKit Documentation
MailKit Documentation
API Reference
MimeKit
MimeMessage Class
MimeMessage Methods
Accept Method
CreateFromMailMessage Method
Dispose Method
Encrypt Method
EncryptAsync Method
Finalize Method
GetRecipients Method
GetTextBody Method
Load Method
LoadAsync Method
Prepare Method
Sign Method
SignAndEncrypt Method
SignAndEncryptAsync Method
SignAsync Method
ToString Method
WriteTo Method
WriteToAsync Method
Mime
Message
Get
Text
Body Method
Get the text body in the specified format.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
string
GetTextBody
(
TextFormat
format
)
Parameters
format
TextFormat
The desired text format.
Return Value
String
The text body in the desired format if it exists; otherwise,
null
.
Implements
IMimeMessage
GetTextBody(TextFormat)
Remarks
Gets the text body in the specified format, if it exists.
See Also
Reference
MimeMessage Class
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast