Tnef Compliance Violation Enumeration
An enumeration of potential TNEF compliance violations.
Definition
Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public enum TnefComplianceViolationRemarks
An enumeration of the ways in which a TNEF stream may deviate from the [MS-OXTNEF] and [MS-OXCDATA] specifications, as reported to an ITnefComplianceLogger.
A handful of members do not describe a defect in the stream at all, but rather a limit that the stream exceeded. They are reported the same way so that a consumer can tell that some of the content was not processed.
Members
| None | 0 | No violation. |
| InvalidSignature | 1 | The stream did not begin with the TNEF signature. |
| UnsupportedVersion | 2 | The attTnefVersion attribute specified an unsupported version. |
| InvalidMessageCodepage | 3 | The attOemCodepage attribute specified a codepage that could not be resolved. |
| InvalidMessageClass | 4 | The attMessageClass or attOriginalMessageClass attribute was not a valid message class. |
| InvalidAttributeLevel | 5 | An attribute had a level that was neither the message level nor the attachment level. |
| MessageAttributeAfterAttachment | 6 | A message-level attribute appeared after the first attachment-level attribute. |
| AttributeLevelMismatch | 7 | An attribute appeared at a level that it is not defined for. |
| UnknownAttribute | 8 | An attribute had an unrecognized attribute identifier. |
| InvalidAttributeLength | 9 | An attribute had a length that cannot be valid. |
| AttributeChecksumMismatch | 10 | The checksum of an attribute did not match its value. |
| InvalidAttributeValue | 11 | An attribute value was malformed for the type of the attribute. |
| InvalidDate | 12 | A date value was invalid. |
| TruncatedStream | 13 | The stream ended before the end of the current attribute. |
| InvalidPropertyCount | 14 | A property list had a property count that cannot be valid. |
| InvalidRowCount | 15 | A property table had a row count that cannot be valid. |
| InvalidValueCount | 16 | A property had a value count that cannot be valid. |
| InvalidPropertyLength | 17 | A property value had a length that cannot be valid. |
| UnsupportedPropertyType | 18 | A property had an unsupported property type. |
| InvalidNamedPropertyKind | 19 | A named property had an invalid kind. |
| NestingTooDeep | 20 | Embedded messages were nested more deeply than the configured limit. |
| TooManyAttachments | 21 | The stream contained more attachments than the configured limit. |
| DataSizeLimitExceeded | 22 | The stream contained more data than the configured limit. |
| TooManyComplianceIssues | 2,147,483,647 | Too many compliance issues were detected and the remainder were suppressed. |