Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
BodyTransferEncoding Property

MailMessage.BodyTransferEncoding Property

.NET Framework 4.6 and 4.5

Gets or sets the transfer encoding used to encode the message body.

Namespace:  System.Net.Mail
Assembly:  System (in System.dll)

public TransferEncoding BodyTransferEncoding { get; set; }

Property Value

Type: System.Net.Mime.TransferEncoding
Returns TransferEncoding.

A TransferEncoding applied to the contents of the Body.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft