55件ヒット
[1-55件を表示]
(0.033秒)
種類
- 特異メソッド (44)
- インスタンスメソッド (11)
クラス
-
Net
:: IMAP (55)
キーワード
-
format
_ date (11) -
format
_ datetime (11) - rename (11)
検索結果
先頭5件
-
Net
:: IMAP . new(host , options) -> Net :: IMAP (18110.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 (18110.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 # rename(mailbox , newname) -> Net :: IMAP :: TaggedResponse (102.0) -
RENAME コマンドを送り、指定したメールボックスをリネームします。
...を送り、指定したメールボックスをリネームします。
@param mailbox リネームするメールボックス(文字列)
@param newname リネーム後の名前(文字列)
@raise Net::IMAP::NoResponseError 指定した名前のメールボックスを
リネームできな... -
Net
:: IMAP . format _ date(time) -> String (8.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 (8.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 変換する時刻オブジェクト...