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




Gets or sets a value which determines if mailbox names are encoded/decoded.

Syntax

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

Property Value

true by default. Automatically set to false if the mail server uses non encoded 8-bit for mailbox names.

Remarks

While mail servers should use mod utf-7 for mailbox names as specified in RFC 2060, some mail servers are noncompliant. The Imap component will autodetect whether the server is using proper mod UTF-7 encoding or non encoded 8-bit for mailbox names. If 8-bit, this property is set to false and it will skip the decoding/encoding calls. This property must be set before login.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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