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




Gets or sets a value which determines if messages are automatically expunged.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<CategoryAttribute("Behavior")>
Public Property AutoPurge As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Imap
Dim value As Boolean
 
instance.AutoPurge = value
 
value = instance.AutoPurge
C# 
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
public bool AutoPurge {get; set;}
Managed Extensions for C++ 
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
public: __property bool get_AutoPurge();
public: __property void set_AutoPurge( 
   bool value
);
C++/CLI 
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
public:
property bool AutoPurge {
   bool get();
   void set (    bool value);
}

Property Value

true if you desire all deleted messages to be purged; false otherwise. The default value is false.

Remarks

The Imap.AutoPurge property, when set to true, causes the component to automatically send an EXPUNGE command whenever commands cause a change in the current mailbox. This will cause all messages with ImapMessage.Delete = true to be deleted from the server.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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