るりまサーチ

最速Rubyリファレンスマニュアル検索!
192件ヒット [1-100件を表示] (0.041秒)
トップページ > クエリ:net/imap[x] > 種類:特異メソッド[x]

別のキーワード

  1. net/smtp start
  2. net/imap name
  3. net/imap param
  4. net/http get
  5. net/imap data

ライブラリ

クラス

検索結果

<< 1 2 > >>

Net::IMAP.add_authenticator(auth_type, authenticator) -> () (8007.0)

Net::IMAP#authenticate で使う 認証用クラスを設定します。

...追加するために用います。

通常は使う必要はないでしょう。もしこれを用いて
認証方式を追加する場合は net/imap.rb の
Net::IMAP::LoginAuthenticator などを参考にしてください。

@param auth_type 認証の種類(文字列)
@param authenticator 認...

Net::IMAP.format_date(time) -> String (8007.0)

時刻オブジェクトを IMAP の日付フォーマットでの文字列に変換します。

...時刻オブジェクトを IMAP の日付フォーマットでの文字列に変換します。

require 'net/imap'

Net::IMAP.format_date(Time.new(2011, 6, 20))
# => "20-Jun-2011"

@param time 変換する時刻オブジェクト...

Net::IMAP.format_datetime(time) -> String (8007.0)

時刻オブジェクトを IMAP の日付時刻フォーマットでの文字列に変換します

...時刻オブジェクトを IMAP の日付時刻フォーマットでの文字列に変換します

require 'net/imap'

Net::IMAP.format_datetime(Time.new(2011, 6, 20, 13, 20, 1))
# => "20-Jun-2011 13:20 +0900"

@param time 変換する時刻オブジェクト...

Net::IMAP.new(host, options) -> Net::IMAP (8007.0)

新たな Net::IMAP オブジェクトを生成し、指定したホストの 指定したポートに接続し、接続語の IMAP オブジェクトを返します。

...同じです。
これの :ssl パラメータを使うことで、OpenSSL のパラメータを詳細に
調整できます。



require 'net/imap'

imap = Net::IMAP.new('imap.example.com', :port => 993,
:ssl => { :verify_mode => OpenSSL::SSL::VERIFY_PEER,...

Net::IMAP.new(host, port = 143, usessl = false, certs = nil, verify = true) -> Net::IMAP (8007.0)

新たな Net::IMAP オブジェクトを生成し、指定したホストの 指定したポートに接続し、接続語の IMAP オブジェクトを返します。

...同じです。
これの :ssl パラメータを使うことで、OpenSSL のパラメータを詳細に
調整できます。



require 'net/imap'

imap = Net::IMAP.new('imap.example.com', :port => 993,
:ssl => { :verify_mode => OpenSSL::SSL::VERIFY_PEER,...

絞り込み条件を変える

Net::IMAP.debug -> bool (8001.0)

デバッグモードが on になっていれば真を返します。

デバッグモードが on になっていれば真を返します。

@see Net::IMAP#debug=

Net::IMAP.debug=(val) (8001.0)

デバッグモードの on/off をします。

デバッグモードの on/off をします。

真を渡すと on になります。

@param val 設定するデバッグモードの on/off の真偽値
@see Net::IMAP#debug

Net::IMAP.decode_utf7(str) -> String (8001.0)

modified UTF-7 の文字列を UTF-8 の文字列に変換します。

modified UTF-7 の文字列を UTF-8 の文字列に変換します。

modified UTF-7 は IMAP のメールボックス名に使われるエンコーディングで、
UTF-7 を修正したものです。

詳しくは 2060 の 5.1.3 を参照してください。

Net::IMAP ではメールボックス名のエンコードを自動的変換「しない」
ことに注意してください。必要があればユーザが変換すべきです。

@param str 変換対象の modified UTF-7 でエンコードされた文字列
@see Net::IMAP.encode_utf7

Net::IMAP.default_imap_port -> Integer (8001.0)

デフォルトの IMAP のポート番号(143)を返します。

デフォルトの IMAP のポート番号(143)を返します。

@see Net::IMAP.default_tls_port
<< 1 2 > >>