Encapsulates an email message
Inheritance Hierarchy
Ipswitch.Messaging.FrameworkFrameworkFolderItem
Ipswitch.Messaging.Framework.MailEmail
Ipswitch.Messaging.Framework.MailReadReceiptResponse
Namespace: Ipswitch.Messaging.Framework.Mail
Assembly: Ipswitch.Messaging.Framework (in Ipswitch.Messaging.Framework.dll) Version: 1.0.0.0
Syntax
The Email type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
Default constructor
|
Methods
| Name | Description | |
|---|---|---|
| Delete |
Deletes the message
| |
| Dispose |
Dispose of the object
(Overrides FrameworkFolderItemDispose.) | |
| EmailfromRfc822 |
Returns an Email object from the RFC822 Message contained in the given stream.
Ensure that all code path's dispose of the returned Email.
| |
| Equals | (Inherited from Object.) | |
| GetBodyLines |
Returns the message body as a series of CRLF delimited lines
| |
| GetBodyStream |
Returns the message body as a byte stream
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetHeaderLines |
Returns the message header as a series of CRLF delimited lines
| |
| GetHeaderStream |
Returns the message header as a byte stream
| |
| GetLines |
Returns the message as a series of CRLF delimited lines
| |
| GetStream |
Returns the message as a byte stream
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Save |
Saves the Message flags to the mailbox file
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Attachments |
The message attachments
| |
| Bcc |
The BCC header
| |
| Body |
The body of the message
| |
| BodySize |
The message body size
| |
| CC |
The CC header
| |
| ContentType |
The message content type
| |
| Date |
The value of the Date header for the message
| |
| Flags |
The message flags
| |
| Folder |
The containing email folder
| |
| From |
The From header
| |
| HeaderSize |
The message header size
| |
| Id |
Gets a unique identifier for the message.
(Overrides FrameworkFolderItemId.) | |
| Index |
The one-based message index
| |
| InReplyTo |
The In-Reply-To header
| |
| MeetingRequest | ||
| MessageId |
The Message-Id header
| |
| MimeStructure |
The MIME structure
| |
| NotificationAddress |
The Read-Receipt header
| |
| ParentFolder | (Inherited from FrameworkFolderItem.) | |
| Priority |
The email priority
| |
| ReceivedDate |
The date the message was received
| |
| ReplyTo |
The Reply-To header
| |
| Sender |
The Sender header
| |
| Size |
The message size
| |
| Subject |
The subject header
| |
| SubjectCharset |
The character set of the subject
| |
| To |
The To header
| |
| Uidl |
The message UIDL
| |
| User |
See Also