File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/net-imap-0.3.4/ri/Net/IMAP/login-i.ri
U:RDoc::AnyMethod[iI"
login:ETI"Net::IMAP#login;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"gSends a {LOGIN command [IMAP4rev1 ยง6.2.3]}[https://www.rfc-editor.org/rfc/rfc3501#section-6.2.3] ;TI"Pto identify the client and carries the plaintext +password+ authenticating ;TI"Nthis +user+. If successful, the connection enters the "_authenticated_" ;TI"state.;To:RDoc::Markup::BlankLine o;
; [I"PUsing #authenticate is generally preferred over #login. The LOGIN command ;TI"Cis not the same as #authenticate with the "LOGIN" +mechanism+.;T@o;
; [I"DA Net::IMAP::NoResponseError is raised if authentication fails.;T@o;
; [I"&Related: #authenticate, #starttls;T@S:RDoc::Markup::Heading:
leveli : textI"Capabilities;To;
; [I"HClients MUST NOT call #login if +LOGINDISABLED+ is listed with the ;TI"capabilities.;T@o;
; [ I"PServer capabilities may change after #starttls, #login, and #authenticate. ;TI"LCached capabilities _must_ be invalidated after this method completes. ;TI"JThe TaggedResponse to #login may include updated capabilities in its ;TI"ResponseCode.;T:
@fileI"lib/net/imap.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(user, password);T@(FI" IMAP;TcRDoc::NormalClass00