diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-08-17 03:08:45 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-08-17 03:08:45 +0000 |
commit | 772ed5507e569d7697841492a37d7607adbc9385 (patch) | |
tree | 2e30b9d1390670e908b5867208fbfb090e929faf /doc/net/smtp.rd.ja | |
parent | 1414cebea8ac4e04d3f5d7c258bc7c26258bc4be (diff) | |
download | ruby-772ed5507e569d7697841492a37d7607adbc9385.tar.gz |
aamine
* lib/net/protocol.rb: Protocol.new requires at least one arg.
* lib/net/smtp.rb: ditto.
* lib/net/pop.rb: ditto.
* lib/net/http.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc/net/smtp.rd.ja')
-rw-r--r-- | doc/net/smtp.rd.ja | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/net/smtp.rd.ja b/doc/net/smtp.rd.ja index 16fa5d598d..3484e61ccb 100644 --- a/doc/net/smtp.rd.ja +++ b/doc/net/smtp.rd.ja @@ -71,12 +71,12 @@ SMTP ではメールを送る側のホストの名前を要求されるのですが、 === クラスメソッド -: new( address = 'localhost', port = 25 ) +: new( address, port = 25 ) 新しい SMTP オブジェクトを生成します。address はSMTPサーバーのFQDNで、 port は接続するポート番号です。ただし、このメソッドではまだ接続はしません。 -: start( address = 'localhost', port = 25, helo_domain = Socket.gethostname, account = nil, password = nil, authtype = nil ) -: start( address = 'localhost', port = 25, helo_domain = Socket.gethostname, account = nil, password = nil, authtype = nil ) {|smtp| .... } +: start( address, port = 25, helo_domain = Socket.gethostname, account = nil, password = nil, authtype = nil ) +: start( address, port = 25, helo_domain = Socket.gethostname, account = nil, password = nil, authtype = nil ) {|smtp| .... } 以下と同じです。 Net::SMTP.new(address,port).start(helo_domain,account,password,authtype) |