subscribeMailbox method

Future<Mailbox> subscribeMailbox(
  1. Mailbox box
)

Subscribes the specified mailbox.

The mailbox is listed in future LSUB commands, compare listSubscribedMailboxes. box the mailbox that is subscribed

Implementation

Future<Mailbox> subscribeMailbox(Mailbox box) {
  return _sendMailboxCommand('SUBSCRIBE', box);
}