The base class of all field classes.
Inheritance Hierarchy
NI.Email.Mime.Field MimeField
NI.Email.Mime.Field AddressListField
NI.Email.Mime.Field ContentTransferEncodingField
NI.Email.Mime.Field ContentTypeField
NI.Email.Mime.Field DateTimeField
NI.Email.Mime.Field MailboxField
NI.Email.Mime.Field MailboxListField
NI.Email.Mime.Field UnstructuredField
Namespace: NI.Email.Mime.Field
Assembly: NI.Email.Mime (in NI.Email.Mime.dll) Version: 1.8.5168.22709
Syntax
The MimeField type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| MimeField | Initializes a new instance of the MimeField class |
Methods
| Name | Description | |||||||
|---|---|---|---|---|---|---|---|---|
| ComposeContentType | ||||||||
| ComposeFrom | ||||||||
| ComposeSubject | ||||||||
| ComposeTo | ||||||||
| Equals | (Inherited from Object.) | |||||||
| EqualsIgnoreCase | ||||||||
| ExtractBody | ||||||||
| ExtractName | ||||||||
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |||||||
| FormatInGeneral | ||||||||
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |||||||
| GetType | Gets the type of the current instance. (Inherited from Object.) | |||||||
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |||||||
| Parse(String) |
Parsers the given string and returns an instance of the
Field class. The type of the class returned depends on
the field name:
| |||||||
| Parse(String, Address) | ||||||||
| Parse(String, IComplexAddress) | ||||||||
| Parse(String, String) | ||||||||
| ParseBody |
Parses the field body.
@param body the field unfolded body.
| |||||||
| ProvideProperField | ||||||||
| ToString | (Overrides Object ToString .) |
Fields
| Name | Description | |
|---|---|---|
| Bcc | ||
| body | ||
| Cc | ||
| ContentID | ||
| ContentTransferEncoding | ||
| ContentType | ||
| Date | ||
| From | ||
| MIMEVersion | ||
| name | ||
| raw | ||
| ReplyTo | ||
| ResentBcc | ||
| ResentCc | ||
| ResentDate | ||
| ResentFrom | ||
| ResentSender | ||
| ResentTo | ||
| Sender | ||
| Subject | ||
| To |
Properties
| Name | Description | |
|---|---|---|
| Body |
Gets the unfolded, unparsed and possibly encoded (see RFC 2047) field
body string.
| |
| IsContentType |
Determines if this is a Content-Type field.
| |
| IsFrom |
Determines if this is a From field.
| |
| IsSubject |
Determines if this is a Subject field.
| |
| IsTo |
Determines if this is a To field.
| |
| Name |
Gets the name of the field (Subject,
From, etc).
| |
| Raw |
Gets the original raw field string.
|
See Also