PowerTCP Mail for .NET
MimeEncoding Property
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > CodingStream Class : MimeEncoding Property




Gets or sets the type of MIME encoding used to encode the data contained within the Stream.

Syntax

Visual Basic (Declaration) 
<ObsoleteAttribute("Superseded by ContentEncoding property")>
Public Property MimeEncoding As ContentEncoding
Visual Basic (Usage)Copy Code
Dim instance As CodingStream
Dim value As ContentEncoding
 
instance.MimeEncoding = value
 
value = instance.MimeEncoding
C# 
[ObsoleteAttribute("Superseded by ContentEncoding property")]
public ContentEncoding MimeEncoding {get; set;}
Managed Extensions for C++ 
[ObsoleteAttribute("Superseded by ContentEncoding property")]
public: __property ContentEncoding get_MimeEncoding();
public: __property void set_MimeEncoding( 
   ContentEncoding value
);
C++/CLI 
[ObsoleteAttribute("Superseded by ContentEncoding property")]
public:
property ContentEncoding MimeEncoding {
   ContentEncoding get();
   void set (    ContentEncoding value);
}

Property Value

A ContentEncoding Type specifying the type of encoding used to encode the data contained within the Stream.

Remarks

Specifies the encoding algorithm that was used to create the encoded MIME part. Mail readers use this information to decode the received (encoded) data into it's original (decoded) form.

The default value of this property depends on the type of Stream being created. For example:

  • An AttachmentStream represents a non-MIME attachment. AttachmentStream.MimeEncoding defaults to ContentEncoding.Uuencode.
  • A MimeAttachmentStream represents a MIME attachment. MimeAttachmentStream.MimeEncoding defaults to ContentEncoding.Base64.
  • A MessagePartStream represents simple MIME parts (such as MIME text). MessagePartStream.MimeEncoding defaults to ContentEncoding.QuotedPrintable.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.