method
subscribe
v1_8_7_330 -
Show latest stable
- Class:
Net::IMAP
subscribe(mailbox)public
Sends a SUBSCRIBE command to add the specified mailbox name to the server’s set of “active” or “subscribed” mailboxes as returned by #lsub().
A Net::IMAP::NoResponseError is raised if mailbox cannot be subscribed to, for instance because it does not exist.