ActiveUp.Net.Mail.Mailbox.Delete C# (CSharp) Method

Delete() public method

Deletes the mailbox.
public Delete ( ) : string
return string
		public string Delete()
		{
			try
			{
				return this.SourceClient.DeleteMailbox(this.Name);
			}
			catch(System.Net.Sockets.SocketException)
			{
				throw new ActiveUp.Net.Mail.Imap4Exception("Delete failed.\nThe mailbox' source client wasn't connected anymore.");
			}
		}