るりまサーチ

最速Rubyリファレンスマニュアル検索!
372件ヒット [1-100件を表示] (0.182秒)

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils cp_r
  5. fileutils rm_r

ライブラリ

キーワード

検索結果

<< 1 2 3 ... > >>

Net::POPMail#mail -> String (21425.0)

メールを受信します。

...返します。

pop, all, mail はすべて同じ効果ですが、
all と mail は obsolete です。


使用例:

r
equire 'net/pop'

Net::POP3.start('pop.example.com', 110,
'YourAccount', 'YourPassword') {|pop|
pop.mails.each do |m|
puts m.pop
end
}


...
...
r
equire 'net/pop'

Net::POP3.start('pop.example.com', 110) {|pop|
pop.each_mail do |m|
m.pop do |str|
print str
end
end
}

@param io メールの内容を書きこむオブジェクト
@raise TimeoutError 通信がタイムアウトした場合に発生します
@r...
...aise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不正であった場合に発生します...

URI::MailTo#to_mailtext -> String (21403.0)

URI オブジェクトからメールテキスト文字列を生成します。

...URI オブジェクトからメールテキスト文字列を生成します。

例:
r
equire 'uri'
p mailto = URI.parse("mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr")
print mailto.to_mailtext

=> #<URI::MailTo:0x20104a0e URL:mailto:ruby-list@ruby-lang.org?subject=subscribe&...
...cc=myaddr>
T
o: ruby-list@ruby-lang.org
Subject: subscribe
Cc: myaddr...

Net::POPMail#mail {|str| .... } -> nil (21325.0)

メールを受信します。

...返します。

pop, all, mail はすべて同じ効果ですが、
all と mail は obsolete です。


使用例:

r
equire 'net/pop'

Net::POP3.start('pop.example.com', 110,
'YourAccount', 'YourPassword') {|pop|
pop.mails.each do |m|
puts m.pop
end
}


...
...
r
equire 'net/pop'

Net::POP3.start('pop.example.com', 110) {|pop|
pop.each_mail do |m|
m.pop do |str|
print str
end
end
}

@param io メールの内容を書きこむオブジェクト
@raise TimeoutError 通信がタイムアウトした場合に発生します
@r...
...aise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不正であった場合に発生します...

URI::MailTo#to_rfc822text -> String (21303.0)

URI オブジェクトからメールテキスト文字列を生成します。

...URI オブジェクトからメールテキスト文字列を生成します。

例:
r
equire 'uri'
p mailto = URI.parse("mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr")
print mailto.to_mailtext

=> #<URI::MailTo:0x20104a0e URL:mailto:ruby-list@ruby-lang.org?subject=subscribe&...
...cc=myaddr>
T
o: ruby-list@ruby-lang.org
Subject: subscribe
Cc: myaddr...

Net::IMAP::MailboxQuotaRoot#quotaroots -> [String] (18302.0)

問い合わせしたメールボックスの quota root 名を配列で返します。

...問い合わせしたメールボックスの quota root 名を配列で返します。

空の場合もありえます。...

絞り込み条件を変える

Net::IMAP::MailboxACLItem#rights -> String (15402.0)

アクセス権限を文字列で返します。

...アクセス権限を文字列で返します。

Net::IMAP::MailboxACLItem#user で得られるユーザが
持っている権限が返されます。

この文字列の意味については 2086 を参照してください。...

Net::IMAP::MailboxQuotaRoot#mailbox -> String (15402.0)

問い合わせしたメールボックスの名前を返します。

問い合わせしたメールボックスの名前を返します。

Resolv::DNS::Resource::MINFO#rmailbx -> String (15402.0)

メーリングリストもしくはメールボックスの 責任者のドメイン名を返します。

メーリングリストもしくはメールボックスの
責任者のドメイン名を返します。

URI::MailTo#to -> String (15318.0)

自身の e-mail アドレスを文字列で返します。

...自身の e-mail アドレスを文字列で返します。

例:
r
equire 'uri'
p URI.parse("mailto:nospam@example.com").to #=> "nospam@example.com"...
<< 1 2 3 ... > >>