The following tables list the members exposed by MimeMessagePart.
Name | Description | |
---|---|---|
Body | This is the parsed body of this MimeMessagePart. It is parsed in that way, if the body was ContentTransferEncoded, it has been decoded to the correct bytes. It will be a null reference (Nothing in Visual Basic) if this MimeMessagePart is a MultiPart message. Use IsMultiPart to check if this MimeMessagePart is a MultiPart message. | |
BodyEncoding | This is the encoding used to parse the message body if the MimeMessagePart is not a MultiPart message. It is derived from the ContentType character set property. | |
ContentDescription | A human readable description of the body a null reference (Nothing in Visual Basic) if no Content-Description header was present in the message. | |
ContentDisposition | Used to describe if a MimeMessagePart is to be displayed or to be though of as an attachment. Also contains information about filename if such was sent. a null reference (Nothing in Visual Basic) if no Content-Disposition header field was present in the message | |
ContentId | ID of the content part (like an attached image). Used with MultiPart messages. a null reference (Nothing in Visual Basic) if no Content-ID header field was present in the message. | |
ContentTransferEncoding | This header describes the Content encoding during transfer. If no Content-Transfer-Encoding header was present in the message, it is set to the default of ContentTransferEncoding.SevenBit in accordance to the RFC. | |
ContentType | The Content-Type header field. If not set, the ContentType is created by the default "text/plain; charset=us-ascii" which is defined in RFC 2045 section 5.2. If set, the default is overridden. | |
FileName | Returns the ContentDisposition's FileName field, or Name if not present | |
Headers | Returns the collection of headers for a message part | |
IsAttachment | A MimeMessagePart is considered to be an attachment, if - it is not holding text and is not a MultiPart message or - it has a Content-Disposition header that says it is an attachment | |
IsMultiPart | Describes if this MimeMessagePart is a MultiPart message The MimeMessagePart is a MultiPart message if the ContentType media type property starts with "multipart/" | |
IsText | A MimeMessagePart is considered to be holding text in it's body if the MediaType starts either "text/" or is equal to "message/rfc822" | |
MessageParts | If this MimeMessagePart is a MultiPart message, then this property has a list of each of the Multiple parts that the message consists of. It is a null reference (Nothing in Visual Basic) if it is not a MultiPart message. Use IsMultiPart to check if this MimeMessagePart is a MultiPart message. | |
Name | Returns the ContentDisposition's Name field, or FileName if not present | |
Text | Gets this MessagePart's Body as text, or null if the IsMultiPart property is true. |