| 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.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.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code