Class: Net::IMAP::Namespaces

Inherits:
Struct
  • Object
show all
Defined in:
lib/net/imap.rb

Overview

Net::IMAP::Namespaces represents the response from [RFC-2342] NAMESPACE.

Namespace_Response = "*" SP "NAMESPACE" SP Namespace SP Namespace SP
   Namespace

   ; The first Namespace is the Personal Namespace(s)
   ; The second Namespace is the Other Users' Namespace(s)
   ; The third Namespace is the Shared Namespace(s)

Fields:

personal

Returns an array of Personal Net::IMAP::Namespace objects.

other

Returns an array of Other Users’ Net::IMAP::Namespace objects.

shared

Returns an array of Shared Net::IMAP::Namespace objects.