System.Net.Mime Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains types that are used to represent Multipurpose Internet Mail Exchange (MIME) headers. These types are used with the types in the System.Net.Mail namespace to specify Content-Type, Content-Disposition, and Content-transfer-Encoding headers when using the SmtpClient class to send email.
Classes
ContentDisposition |
Represents a MIME protocol Content-Disposition header. |
ContentType |
Represents a MIME protocol Content-Type header. |
DispositionTypeNames |
Supplies the strings used to specify the disposition type for an email attachment. |
MediaTypeNames |
Specifies the media type information for an email message attachment. |
MediaTypeNames.Application |
Specifies the kind of application data in an email message attachment. |
MediaTypeNames.Font |
Specifies the kind of font data in an email message attachment. |
MediaTypeNames.Image |
Specifies the type of image data in an email message attachment. |
MediaTypeNames.Multipart |
Specifies the kind of multipart data in an email message attachment. |
MediaTypeNames.Text |
Specifies the type of text data in an email message attachment. |
Enums
TransferEncoding |
Specifies the Content-Transfer-Encoding header information for an email message attachment. |
Remarks
MIME data is represented by the Attachment class.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for