public string Rename(string newMailboxName)
{
try
{
string response = this.SourceClient.RenameMailbox(this.Name,newMailboxName);
this.Name = newMailboxName;
return response;
}
catch(System.Net.Sockets.SocketException)
{
throw new Imap4Exception("Rename failed.\nThe mailbox' source client wasn't connected anymore.");
}
}