Dart.Mail Namespace : MailMessage Class |
The following tables list the members exposed by MailMessage.
Name | Description | |
---|---|---|
MailMessage Constructor | Overloaded. |
Name | Description | |
---|---|---|
MaxEncodedLineLength | The maximum length for an encoded email line. Header lines are "folded" IAW RFC 2822. Body text will have CR/LF's inserted between encoded characters. |
Name | Description | |
---|---|---|
Attachments | Get a generic List containing all the Attachments within this part and sub-parts. (Inherited from Dart.Mail.Multipart) | |
Bcc | Gets or sets the email address(es) of the "blind carbon-copy" recipient(s). | |
BitEncoding | Gets the bit encoding of the message (SevenBit, EightBit, or Binary only). | |
Cc | Gets or sets the email address(es) of the "carbon-copy" recipient(s). | |
ContentType | Gets or sets the "Content-Type" header field for the part. (Inherited from Dart.Mail.Part) | |
Date | Gets and sets the "Date:" header field. | |
From | Gets or sets the email address of who the email is from. | |
Headers | Provides a Part.Headers instance that lists all unique header fields. (Inherited from Dart.Mail.Part) | |
Html | Gets or sets the HTML text body. (Inherited from Dart.Mail.Multipart) | |
IsMime | Gets or sets a value that controls the use of MIME encoding. | |
IsSecure | Returns false if SecureEncoding is SecureEncoding.None, otherwise true. | |
Length | Returns the approximate Length of the encoded part. (Inherited from Dart.Mail.Multipart) | |
Parts | A Part list that contains all the parts in the Multipart. (Inherited from Dart.Mail.Multipart) | |
Priority | Gets or sets the Priority of the message. | |
ReplyTo | Gets or sets the email address(es) of where any reply should be sent. | |
Resources | Get a generic List containing all the Resources within this part and sub-parts. (Inherited from Dart.Mail.Multipart) | |
SecureEncoding | Indicates the type of S/MIME encoding exposed by the header. Any "inner" encoding is unknown. | |
Sender | Gets or sets the email address of the sender of the email. | |
Subject | Gets or sets the value of the "Subject" header field. | |
Tag | Gets or sets an object that stores any user data. (Inherited from Dart.Mail.Part) | |
Text | Gets or sets the plain text body. (Inherited from Dart.Mail.Multipart) | |
To | Gets or sets the email address(es) of the primary recipient(s). |
Name | Description | |
---|---|---|
Clear | Overridden. Reinitializes the MailMessage to default values. IsMime is set to true. Date is set to DateTime.Now. | |
Clone | Overridden. Creates a deep copy of the MailMessage, but deep/shallow copies of its Parts. Attachments and Resources are shallow copies, Textparts and Htmlparts are deep copies. | |
Dispose | Overloaded. Releases all resources associated with the object. (Inherited from Dart.Mail.Multipart) | |
FindHtml | Finds the first Htmlpart, recursively searching Multipart.Parts (depth before breadth). (Inherited from Dart.Mail.Multipart) | |
FindParent | Performs a recursive search to find the "parent" Part of the specified child within this Multipart. (Inherited from Dart.Mail.Multipart) | |
FindText | Finds the first Textpart, recursively searching Multipart.Parts (depth before breadth). (Inherited from Dart.Mail.Multipart) | |
Forward | Creates a forwarded Message. | |
GetContentEncodingStream | Overridden. Used to encode message content. | |
GetDecodingExceptions | Returns Exceptions created during decoding. (Inherited from Dart.Mail.Part) | |
GetEncodingStream | Returns a Stream that encodes when System.IO.Stream.Read(System.Byte[],System.Int32,System.Int32) is used and decodes when System.IO.Stream.Write(System.Byte[],System.Int32,System.Int32) is used. (Inherited from Dart.Mail.Part) | |
GetObjectData | This method supports the .NET infrastructure and is not meant to be called directly from your code. | |
Open | Overloaded. Decodes the provided Stream and populates the Part. | |
Reply | Creates a reply message by inserting a new Textpart. Leaves the original parts unmodified. | |
ReplyAll | Creates a reply message by inserting a new Textpart. Leaves the original parts unmodified. Replies to the sender and CC's all recipients. | |
ReplyAllInline | Creates a reply message by prepending the reply text/HTML and separators to the original text/HTML. Replies to the sender and CC's all recipients. | |
ReplyInline | Creates a reply message by prepending the reply text/HTML and separators to the original text/HTML. | |
Save | Overloaded. Encodes the MIME entity and saves it to the specified stream. | |
SecureDecode | Overloaded. Decode the S/MIME encoded MailMessage. | |
SecureEncrypt | Overloaded. Encrypt the MailMessage using S/MIME encoding. | |
SecureSign | Overloaded. Sign the MailMessage using S/MIME encoding. | |
ToArray | Returns the encoded MIME entity as a byte array. (Inherited from Dart.Mail.Part) | |
ToString | Overloaded. Returns the MIME entity as a String. (Inherited from Dart.Mail.Part) |