MimeMessage Class
Namespace: Rebex.Mime
Assembly: Rebex.Mail.dll (version 7.0.9147)
A MIME e-mail message.
Syntax
public class MimeMessage : MimeEntity
Inherited Members
Remarks
Adds useful properties to Mime
Constructors
Name | Description |
---|---|
Mime |
Initializes an instance of Mime |
Properties
Name | Description |
---|---|
Bcc | Gets or sets the list of addresses of recipients that are not to be revealed to other recipients of the message. |
CC | Gets or sets the list of addresses of others who are to receive the message. |
Certificate |
Gets or sets the ICertificate |
Charset | Gets the charset (Encoding) of the content of this entity.
Inherited from Mime |
Comments | Gets or sets the comments on the message. |
Content |
Gets or sets the content description of this entity.
Inherited from Mime |
Content |
Gets or sets the content disposition of this entity.
Inherited from Mime |
Content |
Gets or sets the content ID of this entity.
Inherited from Mime |
Content |
Gets or sets the content location of this entity.
Inherited from Mime |
Content |
Gets the inner message of a 'message/rfc822' entity.
Inherited from Mime |
Content |
Gets the content string of this entity.
Inherited from Mime |
Content |
Gets or sets the content transfer encoding of this entity.
Inherited from Mime |
Content |
Gets or sets the content type of this entity.
Inherited from Mime |
Date | Gets or sets the origination date of this message. |
Default |
Gets or sets the default charset for MIME body and headers.
Inherited from Mime |
Disposition |
Gets or sets the list of mailboxes that should be notified of message disposition by the receiving user agent. |
Enveloped |
Gets the Enveloped |
Envelope |
Gets or sets the envelope identifier to be transmitted along with the message and included in any DSNs issued. |
Epilogue | Gets or sets the epilogue of this multipart entity.
Inherited from Mime |
From | Gets or sets the list of authors of this message. |
Headers | Gets the list of headers of this entity.
Inherited from Mime |
In |
Gets or sets the list of identifiers of messages to which the message is a reply. |
Is |
Determines whether the entity is a multipart entity.
Inherited from Mime |
Keywords | Gets or sets the list of keywords. |
Kind | Gets the type of the entity.
Inherited from Mime |
List |
Gets or sets the list of URLs of the 'List-Archive' header. |
List |
Gets or sets the list of URLs of the 'List-Help' header. |
List |
Gets or sets the list of URLs of the 'List-Owner' header. |
List |
Gets or sets the list of URLs of the 'List-Post' header. |
List |
Gets or sets the list of URLs of the 'List-Subscribe' header. |
List |
Gets or sets the list of URLs of the 'List-Unsubscribe' header. |
Message |
Gets or sets the unique identifier of the message. |
Name | Gets or sets the suggested file name of this entity, if it is present.
Inherited from Mime |
Options | Gets or sets various options for MIME parser and writer.
Inherited from Mime |
Parent | Gets or sets the parent of this entity.
Inherited from Mime |
Parts | Gets the list of child parts of this entity.
Inherited from Mime |
Preamble | Gets or sets the preamble of this multipart entity.
Inherited from Mime |
Priority | Gets or sets the priority of the message. |
Read |
Gets or sets a value indicating whether the entity is read-only.
Inherited from Mime |
References | Gets or sets the list of identifiers of messages in the same "thread" of conversation. |
Reply |
Gets or sets the list of addresses that should receive replies to this message. |
Sender | Gets or sets the sender of this message. |
Signature |
Gets or sets the signature style of a signed entity container.
This property is only intended for entities with signed content.
Inherited from Mime |
Signed |
Gets the Signed |
Silent | Gets or sets a value indicating whether cryptographic providers
are allowed to display any user interface (UI) when working with private keys.
Inherited from Mime |
Subject | Gets or sets the subject of the message. |
To | Gets or sets the list of addresses of primary recipients of the message. |
Transfer |
Gets or sets the Transfer |
Methods
Name | Description |
---|---|
Clone() | Creates a copy of this message. |
Decrypt() | Decrypts the contents of an enveloped entity.
This method is only intended for entities with enveloped content.
Inherited from Mime |
Encrypt() | Encrypts the contents of an enveloped entity.
This method is only intended for entities with enveloped content.
Inherited from Mime |
Get |
Returns the read-only stream representing a content of this entity.
Inherited from Mime |
Get |
Returns the stream representing a content of this entity.
Inherited from Mime |
Get |
Returns the read-only stream representing a raw content of this entity.
Only available for messages that were parsed with Mime |
Get |
Gets the signature entity if available. This can return this entity for signatures with inlined content.
Inherited from Mime |
Load(Stream) | Loads the MIME entity from the specified stream.
Inherited from Mime |
Load(String) | Loads the MIME entity from the specified file.
Inherited from Mime |
On |
Raises the Unparsable |
Save(Stream) | Saves the MIME entity to the specified stream.
Inherited from Mime |
Save(String) | Saves the MIME entity to the specified file.
Inherited from Mime |
Set |
Sets the inner message of this entity to the specified message.
Inherited from Mime |
Set |
Sets the content of this entity to data read from the specified stream.
Inherited from Mime |
Set |
Sets the content of this entity to data read from the specified stream and sets media type and file name.
Inherited from Mime |
Set |
Sets the content of this entity to data read from the specified stream and sets media type and file name.
Inherited from Mime |
Set |
Sets the content of this entity to data read from the specified stream and sets media type, file name and transfer encoding.
Inherited from Mime |
Set |
Sets the content of this entity to the specified text.
Inherited from Mime |
Set |
Sets the content of this entity to the specified text and media type.
Inherited from Mime |
Set |
Sets the content of this entity to the specified text, media type and character set.
Inherited from Mime |
Set |
Sets the content of this entity to the specified text, media type and character set.
Inherited from Mime |
Set |
Sets the content of this entity to data read from the specified file.
Inherited from Mime |
Set |
Sets the content of this entity to data read from the specified file and sets file name.
Inherited from Mime |
Set |
Sets the content of this entity to data read from the specified file and sets media type and file name.
Inherited from Mime |
Set |
Sets the content of this entity to data read from the specified file and sets media type, file name and transfer encoding.
Inherited from Mime |
Set |
Sets the content of this entity to the specified enveloped entity.
Inherited from Mime |
Set |
Sets the content of this entity to the specified enveloped entity.
Inherited from Mime |
SetEnvelopedContent(MimeEntity, SymmetricKeyAlgorithmId, Nullable<Int32>, EncryptionParameters, Certificate[]) | Sets the content of this entity to the specified enveloped entity.
Inherited from Mime |
Set |
Sets the content of this entity to the specified enveloped entity.
Inherited from Mime |
Set |
Sets the content of this entity to the specified enveloped entity.
Inherited from Mime |
Set |
Sets the content of this entity to the specified signed content.
Inherited from Mime |
Set |
Sets the content of this entity to the specified signed content.
Inherited from Mime |
Set |
Sets the content of this entity to the specified signed content.
Inherited from Mime |
Set |
Sets the content of this entity to the specified signed entity.
Inherited from Mime |
Set |
Sets the content of this entity to the specified signed content.
Inherited from Mime |
Sign() | Creates signatures for all signers that do not have one yet.
This method is only intended for entities with signed content.
Inherited from Mime |
To |
Coverts the Mime |
To |
Returns a read-only stream that can be used to read the raw MIME message content.
Copying all the content into another stream is identical to Save(Stream) method.
Inherited from Mime |
Validate |
Validates all digital signatures on this CMS/PKCS #7 signed message
and validates all the signers' certificates.
This method is only intended for entities with signed content.
Inherited from Mime |
Validate |
Validates all digital signatures on this CMS/PKCS #7 signed message.
Optionally, no signers' certificates are not validated, and the specified validation
options are taken into account.
This method is only intended for entities with signed content.
Inherited from Mime |
Validate |
Validates all digital signatures on this CMS/PKCS #7 signed message.
Optionally, no signers' certificates are not validated, and the specified validation
options are taken into account.
This method is only intended for entities with signed content.
Inherited from Mime |
Events
Name | Description |
---|---|
Parsing |
Occurs when a MIME header is to be parsed.
Inherited from Mime |
Unparsable |
Occurs when an unparsable header is encountered while parsing a MIME message.
Inherited from Mime |