diff options
| author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-22 10:21:31 +0000 |
|---|---|---|
| committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-22 10:21:31 +0000 |
| commit | 689ccb3d5d5e5a599c9a59e3b3ab71495feb43c7 (patch) | |
| tree | eea9e50fd6361d18afc2741d3946e29f555beae1 /lib/net | |
| parent | f46e6c1e48fd3b9fae825f05ef30f53c491fce68 (diff) | |
| download | ruby-689ccb3d5d5e5a599c9a59e3b3ab71495feb43c7.tar.gz ruby-689ccb3d5d5e5a599c9a59e3b3ab71495feb43c7.tar.xz ruby-689ccb3d5d5e5a599c9a59e3b3ab71495feb43c7.zip | |
* lib/net/smtp.rb: parameter `to_addrs' might be an Array, .flatten is required. [ruby-dev:29316]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
| -rw-r--r-- | lib/net/smtp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index ab9c1afb8..29b7c0b71 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -794,7 +794,7 @@ module Net def rcptto_list(to_addrs) raise ArgumentError, 'mail destination not given' if to_addrs.empty? - to_addrs.each do |addr| + to_addrs.flatten.each do |addr| rcptto addr end end |
