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

Unsubscribe() public method

Unsubscribes from the mailbox.
public Unsubscribe ( ) : string
return string
		public string Unsubscribe()
		{
			try
			{
				return this.SourceClient.UnsubscribeMailbox(this.Name);
			}
			catch(System.Net.Sockets.SocketException)
			{
				throw new Imap4Exception("Unsubscribe failed.\nThe mailbox' source client wasn't connected anymore.");
			}
		}