PowerTCP Mail for .NET
AttachmentStreams Class
Members  See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace : AttachmentStreams Class




A collection of AttachmentStream objects. Inherited from ArrayList.

Object Model

AttachmentStreams ClassAttachmentStream Class

Syntax

Visual Basic (Declaration) 
<DefaultMemberAttribute("Item")>
Public Class AttachmentStreams 
   Inherits System.Collections.ArrayList
Visual Basic (Usage)Copy Code
Dim instance As AttachmentStreams
C# 
[DefaultMemberAttribute("Item")]
public class AttachmentStreams : System.Collections.ArrayList 
Managed Extensions for C++ 
[DefaultMemberAttribute("Item")]
public __gc class AttachmentStreams : public System.Collections.ArrayList 
C++/CLI 
[DefaultMemberAttribute("Item")]
public ref class AttachmentStreams : public System.Collections.ArrayList 

Remarks

When using PowerTCP Secure Mail for .NET, an AttachmentStreams collection contains AttachmentStream objects which are used to represent non-MIME attachments which can be Uuencoded or Yencoded, although a non-MIME attachment will always be read out as Uuencoded. .

When creating an AttachmentStream the data will always be read out as a Uuencoded attachment. For this reason, a new AttachmenStream will be created with AttachmentStream.MimeEncoding = ContentEncoding.Uuencode. Changing this property could result in incorrect message structure.

This collection is accessible at MessageStream.NonMime.Attachments.

MimeAttachmentStream objects should NOT be added to this collection. This will cause errors in the receiving message parser.

Inheritance Hierarchy

System.Object
   System.Collections.ArrayList
      Dart.PowerTCP.Mail.AttachmentStreams

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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