PowerTCP Mail for .NET
Multipart Class Members
Fields  Properties  Methods 


The following tables list the members exposed by Multipart.

Public Constructors
 NameDescription
Public ConstructorMultipart ConstructorOverloaded.   
Top
Public Fields
 NameDescription
Public FieldAlternative String used to initialize ContentType.MediaType to "multipart/alternative".  
Public FieldMixed String used to initialize ContentType.MediaType to "multipart/mixed".  
Public FieldRelated String used to initialize ContentType.MediaType to "multipart/related".  
Top
Public Properties
 NameDescription
Public PropertyAttachments Get a generic List containing all the Attachments within this part and sub-parts.  
Public PropertyContentType Gets or sets the "Content-Type" header field for the part. (Inherited from Dart.Mail.Part)
Public PropertyHeadersProvides a Part.Headers instance that lists all unique header fields. (Inherited from Dart.Mail.Part)
Public PropertyHtml Gets or sets the HTML text body.  
Public PropertyLengthOverridden.  Returns the approximate Length of the encoded part.  
Public PropertyPartsA Part list that contains all the parts in the Multipart.  
Public PropertyResources Get a generic List containing all the Resources within this part and sub-parts.  
Public PropertyTag Gets or sets an object that stores any user data. (Inherited from Dart.Mail.Part)
Public PropertyText Gets or sets the plain text body.  
Top
Public Methods
 NameDescription
Public MethodClearOverridden.  Reinitializes the part to default values.  
Public MethodCloneOverridden. Creates a deep copy of the Multipart, but deep/shallow copies of its Parts. Attachments and Resources are shallow copies, Textparts and Htmlparts are deep copies.  
Public MethodDisposeOverloaded. Overridden.  Releases all resources associated with the object.  
Public MethodFindHtmlFinds the first Htmlpart, recursively searching Parts (depth before breadth).  
Public MethodFindParentPerforms a recursive search to find the "parent" Part of the specified child within this Multipart.  
Public MethodFindTextFinds the first Textpart, recursively searching Parts (depth before breadth).  
Public MethodGetContentEncodingStreamOverridden. 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.  
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 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

Multipart Class
Dart.Mail Namespace


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