diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-07 07:21:51 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-07 07:21:51 +0000 |
commit | 775b845c6de72bafb137401d9144716a7bf1ff78 (patch) | |
tree | 4aa42ca39a788cef628ed5f7600ba3ad2cd1380f | |
parent | c14831d7f19ffd6c2d35b9ed0fe1a4d6c4db3c2d (diff) |
merge revision(s) 17839:
* lib/net/smtp.rb (Net::SMTP::start): use 'localhost' instead of
'localhost.localdomain'. [ruby-dev:35333]
* lib/net/smtp.rb (Net::SMTP::SMTP.start): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | lib/net/smtp.rb | 6 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 11 insertions, 4 deletions
@@ -1,3 +1,10 @@ +Mon Jul 7 16:21:38 2008 Yukihiro Matsumoto <[email protected]> + + * lib/net/smtp.rb (Net::SMTP::start): use 'localhost' instead of + 'localhost.localdomain'. [ruby-dev:35333] + + * lib/net/smtp.rb (Net::SMTP::SMTP.start): ditto. + Mon Jul 7 15:02:13 2008 Nobuyoshi Nakada <[email protected]> * eval.c (rb_longjmp): duplicate the thrown exception to set backtrace diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index 57dee9a496..5cce6cc50c 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -437,7 +437,7 @@ module Net # +port+ is the port to connect to; it defaults to port 25. # # +helo+ is the _HELO_ _domain_ provided by the client to the - # server (see overview comments); it defaults to 'localhost.localdomain'. + # server (see overview comments); it defaults to 'localhost'. # # The remaining arguments are used for SMTP authentication, if required # or desired. +user+ is the account name; +secret+ is your password @@ -457,7 +457,7 @@ module Net # * IOError # * TimeoutError # - def SMTP.start(address, port = nil, helo = 'localhost.localdomain', + def SMTP.start(address, port = nil, helo = 'localhost', user = nil, secret = nil, authtype = nil, &block) # :yield: smtp new(address, port).start(helo, user, secret, authtype, &block) @@ -518,7 +518,7 @@ module Net # * IOError # * TimeoutError # - def start(helo = 'localhost.localdomain', + def start(helo = 'localhost', user = nil, secret = nil, authtype = nil) # :yield: smtp if block_given? begin @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2008-07-07" #define RUBY_VERSION_CODE 187 #define RUBY_RELEASE_CODE 20080707 -#define RUBY_PATCHLEVEL 49 +#define RUBY_PATCHLEVEL 50 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 |