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)
219return _body ?? string.Empty; 226if (_bodyEncoding == null && _body != null) 228if (MimeBasePart.IsAscii(_body, true)) 326if (!string.IsNullOrEmpty(_body)) 328_bodyView = AlternateView.CreateAlternateViewFromString(_body, _bodyEncoding, (_isBodyHtml ? MediaTypeNames.Text.Html : null)); 336if (!string.IsNullOrEmpty(_body)) 338_bodyView = AlternateView.CreateAlternateViewFromString(_body, _bodyEncoding, (_isBodyHtml ? MediaTypeNames.Text.Html : null)); 365if (!string.IsNullOrEmpty(_body)) 367_bodyView = AlternateView.CreateAlternateViewFromString(_body, _bodyEncoding, null); 418else if (viewsPart.Parts.Count == 1 && string.IsNullOrEmpty(_body))