452件ヒット
[401-452件を表示]
(0.041秒)
種類
- インスタンスメソッド (408)
- 特異メソッド (32)
- ライブラリ (12)
クラス
-
Gem
:: Specification (12) -
Net
:: IMAP (12) -
Net
:: IMAP :: Address (12) -
Net
:: IMAP :: MailboxACLItem (24) -
Net
:: IMAP :: MailboxList (36) -
Net
:: IMAP :: MailboxQuota (12) -
Net
:: IMAP :: MailboxQuotaRoot (24) -
Net
:: IMAP :: StatusData (12) -
Net
:: POPMail (156) -
Net
:: SMTP (68) -
Resolv
:: DNS :: Resource :: MINFO (24) -
URI
:: MailTo (48)
キーワード
- all (36)
- attr (12)
- delim (12)
- email (12)
- emailbx (12)
- header (12)
- headers (12)
- mailbox (48)
- name (12)
-
net
/ smtp (12) - pop (36)
- quotaroots (12)
- rights (12)
- rmailbx (12)
-
send
_ mail (12) - sendmail (12)
- start (32)
- status (12)
- to (12)
-
to
_ mailtext (12) -
to
_ rfc822text (12) - top (12)
- uidl (12)
-
unique
_ id (12) - user (12)
検索結果
先頭5件
- Net
:: IMAP # status(mailbox , attr) -> {String => Integer} - net
/ smtp - Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) -> Net :: SMTP - Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) {|smtp| . . . . } -> object - Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , tls _ verify: true , tls _ hostname: nil , helo: & # 39;localhost& # 39; , user: nil , password: nil , authtype: DEFAULT _ AUTH _ TYPE) -> Net :: SMTP
-
Net
:: IMAP # status(mailbox , attr) -> {String => Integer} (201.0) -
STATUS コマンドを送り、mailbox のステータスを得ます。
...STATUS コマンドを送り、mailbox のステータスを得ます。
問い合わせたいステータスは attr に文字列の配列で渡します。
返り値は アトリビュート文字列をキーとするハッシュです。
詳しくは 2060 の 6.3.10 を参考にしてくださ......い。
例:
p imap.status("inbox", ["MESSAGES", "RECENT"])
#=> {"RECENT"=>0, "MESSAGES"=>44}
@param mailbox 問い合わせ対象のメールボックス(文字列)
@param attr 問合せたいアトリビュート名(文字列)の配列
@raise Net::IMAP::NoResponseError メールボックス... -
net
/ smtp (64.0) -
メールを送信するためのプロトコル SMTP (Simple Mail Transfer Protocol) を扱うライブラリです。
...メールを送信するためのプロトコル SMTP (Simple Mail Transfer Protocol)
を扱うライブラリです。
ヘッダなどメールのデータを扱うことはできません。
SMTP の実装は 2821 に基いています。
=== 使用例
==== とにかくメールを送る
SMTP......ge(<<-EndOfMail, 'from@example.com', 'to@example.net')
From: Your Name <from@example.com>
To: Dest Address <to@example.net>
Subject: test mail
Date: Sat, 23 Jun 2001 16:26:43 +0900
Message-Id: <unique.message.id.string@yourhost.example.com>
This is a test mail.
EndOfMail
}
====......ることもありません。
# using SMTP#finish
require 'net/smtp'
smtp = Net::SMTP.start('smtp.example.com', 25)
smtp.send_message mail_string, 'from@example.com', 'to@example.net'
smtp.finish
またブロック付きの Net::SMTP.start, Net::SMTP#start
を使うと finish を呼ん... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) -> Net :: SMTP (12.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...in, :login, :cram_md5 を指定します。
Example:
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example.jp', 'to@example.jp'
}
@param address 接続するサーバをホスト名もしくはIPアドレスで指定します
@param... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) {|smtp| . . . . } -> object (12.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...in, :login, :cram_md5 を指定します。
Example:
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example.jp', 'to@example.jp'
}
@param address 接続するサーバをホスト名もしくはIPアドレスで指定します
@param... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , tls _ verify: true , tls _ hostname: nil , helo: & # 39;localhost& # 39; , user: nil , password: nil , authtype: DEFAULT _ AUTH _ TYPE) -> Net :: SMTP (12.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...in, :login, :cram_md5 を指定します。
Example:
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example.jp', 'to@example.jp'
}
@param address 接続するサーバをホスト名もしくはIPアドレスで指定します
@param... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , tls _ verify: true , tls _ hostname: nil , helo: & # 39;localhost& # 39; , user: nil , password: nil , authtype: DEFAULT _ AUTH _ TYPE) {|smtp| . . . } -> object (12.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...in, :login, :cram_md5 を指定します。
Example:
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example.jp', 'to@example.jp'
}
@param address 接続するサーバをホスト名もしくはIPアドレスで指定します
@param...