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