5 references to MediaTypeNames
System (3)
net\System\Net\mail\Attachment.cs (1)
154
mediaType =
MediaTypeNames
.Text.Plain;
net\System\Net\mail\MailMessage.cs (2)
299
bodyView = AlternateView.CreateAlternateViewFromString(body, bodyEncoding, (isBodyHtml?
MediaTypeNames
.Text.Html:null));
307
bodyView = AlternateView.CreateAlternateViewFromString(body, bodyEncoding, (isBodyHtml?
MediaTypeNames
.Text.Html:null));
System.Web (2)
UI\WebControls\MailDefinition.cs (2)
282
string viewContentType = (IsBodyHtml ?
MediaTypeNames
.Text.Html :
MediaTypeNames
.Text.Plain);