1 write to _body
System.Net.Mail (1)
System\Net\Mail\MailMessage.cs (1)
224
_body
= value;
10 references to _body
System.Net.Mail (10)
System\Net\Mail\MailMessage.cs (10)
219
return
_body
?? string.Empty;
226
if (_bodyEncoding == null &&
_body
!= null)
228
if (MimeBasePart.IsAscii(
_body
, true))
326
if (!string.IsNullOrEmpty(
_body
))
328
_bodyView = AlternateView.CreateAlternateViewFromString(
_body
, _bodyEncoding, (_isBodyHtml ? MediaTypeNames.Text.Html : null));
336
if (!string.IsNullOrEmpty(
_body
))
338
_bodyView = AlternateView.CreateAlternateViewFromString(
_body
, _bodyEncoding, (_isBodyHtml ? MediaTypeNames.Text.Html : null));
365
if (!string.IsNullOrEmpty(
_body
))
367
_bodyView = AlternateView.CreateAlternateViewFromString(
_body
, _bodyEncoding, null);
418
else if (viewsPart.Parts.Count == 1 && string.IsNullOrEmpty(
_body
))