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




Gets or sets the full path name of the mailbox.

Syntax

Visual Basic (Declaration) 
Public Property FullName As String
Visual Basic (Usage)Copy Code
Dim instance As Mailbox
Dim value As String
 
instance.FullName = value
 
value = instance.FullName
C# 
public string FullName {get; set;}
Managed Extensions for C++ 
public: __property string* get_FullName();
public: __property void set_FullName( 
   string* value
);
C++/CLI 
public:
property String^ FullName {
   String^ get();
   void set (    String^ value);
}

Property Value

A string representing the full path name of the mailbox.

Remarks

The Mailbox.FullName property gets or sets the full path name of this mailbox. For example, with a mailbox named:

"inbox\archives\user"

the Mailbox name-related properties would be as follows:

Property Value
Mailbox.Name "user"
Mailbox.FullName "inbox\archives\user"

When setting the Mailbox.Fullname property, a RENAME command is sent to the server. If you are renaming a Mailbox within the same mailbox use the Mailbox.Name property instead. For example, if you wanted to rename

"company/users/bob"

to

"company/users/bobjohnson"

you could simply set Mailbox.Name to "bobjohnson". However, if you wanted to rename

"company/users/bob"

to

"archive/bobbackup"

you could not do this by setting Mailbox.Name. You would have to set Mailbox.FullName to "archive/bobbackup".

The equivalent asynchronous method for renaming a mailbox is

Imap.BeginInvoke("RENAME oldname newname, null);

"&" is represented when sent as "&-". Anything between an "&" and a "–" is converted to Unicode.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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