PowerTCP Mail for .NET
MailMessage Class Methods


For a list of all members of this type, see MailMessage members.

Public Methods
 NameDescription
Public MethodClearOverridden. Reinitializes the MailMessage to default values. IsMime is set to true. Date is set to DateTime.Now.  
Public MethodCloneOverridden. 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.  
Public MethodDisposeOverloaded.  Releases all resources associated with the object. (Inherited from Dart.Mail.Multipart)
Public MethodFindHtmlFinds the first Htmlpart, recursively searching Multipart.Parts (depth before breadth). (Inherited from Dart.Mail.Multipart)
Public MethodFindParentPerforms a recursive search to find the "parent" Part of the specified child within this Multipart. (Inherited from Dart.Mail.Multipart)
Public MethodFindTextFinds the first Textpart, recursively searching Multipart.Parts (depth before breadth). (Inherited from Dart.Mail.Multipart)
Public MethodForward Creates a forwarded Message.  
Public MethodGetContentEncodingStreamOverridden.  Used to encode message content.  
Public MethodGetDecodingExceptions Returns Exceptions created during decoding. (Inherited from Dart.Mail.Part)
Public MethodGetEncodingStreamReturns 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)
Public MethodGetObjectData This method supports the .NET infrastructure and is not meant to be called directly from your code.  
Public MethodOpenOverloaded.  Decodes the provided Stream and populates the Part.  
Public MethodReply Creates a reply message by inserting a new Textpart. Leaves the original parts unmodified.  
Public MethodReplyAll Creates a reply message by inserting a new Textpart. Leaves the original parts unmodified. Replies to the sender and CC's all recipients.  
Public MethodReplyAllInline 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.  
Public MethodReplyInline Creates a reply message by prepending the reply text/HTML and separators to the original text/HTML.  
Public MethodSaveOverloaded.  Encodes the MIME entity and saves it to the specified stream.  
Public MethodSecureDecodeOverloaded. Decode the S/MIME encoded MailMessage.  
Public MethodSecureEncryptOverloaded. Encrypt the MailMessage using S/MIME encoding.  
Public MethodSecureSignOverloaded. Sign the MailMessage using S/MIME encoding.  
Public MethodToArray Returns the encoded MIME entity as a byte array. (Inherited from Dart.Mail.Part)
Public MethodToStringOverloaded.  Returns the MIME entity as a String. (Inherited from Dart.Mail.Part)
Top
See Also

Reference

MailMessage Class
Dart.Mail Namespace


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic