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)
217return _body ?? string.Empty; 224if (_bodyEncoding == null && _body != null) 226if (MimeBasePart.IsAscii(_body, true)) 324if (!string.IsNullOrEmpty(_body)) 326_bodyView = AlternateView.CreateAlternateViewFromString(_body, _bodyEncoding, (_isBodyHtml ? MediaTypeNames.Text.Html : null)); 334if (!string.IsNullOrEmpty(_body)) 336_bodyView = AlternateView.CreateAlternateViewFromString(_body, _bodyEncoding, (_isBodyHtml ? MediaTypeNames.Text.Html : null)); 363if (!string.IsNullOrEmpty(_body)) 365_bodyView = AlternateView.CreateAlternateViewFromString(_body, _bodyEncoding, null); 416else if (viewsPart.Parts.Count == 1 && string.IsNullOrEmpty(_body))