Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Net/IMAP/new-c.ri
Arrière
U:RDoc::AnyMethod[iI"new:ETI"Net::IMAP::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"ECreates a new Net::IMAP object and connects it to the specified ;TI"+host+.;To:RDoc::Markup::BlankLine o; ; [I"@+options+ is an option hash, each key of which is a symbol.;T@o; ; [I"The available options are:;T@o:RDoc::Markup::List: @type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I" port;T; [o; ; [I"BPort number (default value is 143 for imap, or 993 for imaps);To;;[I"ssl;T; [o; ; [I"<If options[:ssl] is true, then an attempt will be made ;TI"Fto use SSL (now TLS) to connect to the server. For this to work ;TI"COpenSSL [OSSL] and the Ruby OpenSSL [RSSL] extensions need to ;TI"be installed. ;TI"0If options[:ssl] is a hash, it's passed to ;TI"7OpenSSL::SSL::SSLContext#set_params as parameters.;T@o; ; [I" The most common errors are:;T@o;; ;;[ o;;[I"Errno::ECONNREFUSED;T; [o; ; [I"4Connection refused by +host+ or an intervening ;TI"firewall.;To;;[I"Errno::ETIMEDOUT;T; [o; ; [I"3Connection timed out (possibly due to packets ;TI"/being dropped by an intervening firewall).;To;;[I"Errno::ENETUNREACH;T; [o; ; [I"'There is no route to that network.;To;;[I"SocketError;T; [o; ; [I".Hostname not known or other socket error.;To;;[I" Net::IMAP::ByeResponseError;T; [o; ; [I"3The connected to the host was successful, but ;TI"!it immediately said goodbye.;T: @fileI"lib/net/imap.rb;T:0@omit_headings_from_table_of_contents_below0I"'Net::IMAP.new(host, options = {}) ;T0[ I"M(host, port_or_options = {}, usessl = false, certs = nil, verify = true);T@VTI" IMAP;TcRDoc::NormalClass00
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages