File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/net-imap-0.3.4/ri/Net/IMAP/select-i.ri
U:RDoc::AnyMethod[iI"select:ETI"Net::IMAP#select;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"hSends a {SELECT command [IMAP4rev1 ยง6.3.1]}[https://www.rfc-editor.org/rfc/rfc3501#section-6.3.1] ;TI"Mto select a +mailbox+ so that messages in the +mailbox+ can be accessed.;To:RDoc::Markup::BlankLine o;
; [I"PAfter you have selected a mailbox, you may retrieve the number of items in ;TI"Pthat mailbox from <tt>imap.responses["EXISTS"][-1]</tt>, and the number of ;TI"Lrecent messages from <tt>imap.responses["RECENT"][-1]</tt>. Note that ;TI"Mthese values can change if new messages arrive during a session or when ;TI"Lexisting messages are expunged; see #add_response_handler for a way to ;TI"detect these events.;T@o;
; [I"DA Net::IMAP::NoResponseError is raised if the mailbox does not ;TI"0exist or is for some reason non-selectable.;T@o;
; [I"Related: #examine;T@S:RDoc::Markup::Heading:
leveli
: textI"Capabilities;T@o;
; [ I"MIf [UIDPLUS[https://www.rfc-editor.org/rfc/rfc4315.html]] is supported, ;TI"Kthe server may return an untagged "NO" response with a "UIDNOTSTICKY" ;TI"Mresponse code indicating that the mailstore does not support persistent ;TI"
UIDs:;To:RDoc::Markup::Verbatim; [I"6@responses["NO"].last.code.name == "UIDNOTSTICKY";T:@format0:
@fileI"lib/net/imap.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(mailbox);T@*FI" IMAP;TcRDoc::NormalClass00