class Net::SMTP
def rcptto_list(to_addrs)
def rcptto_list(to_addrs) raise ArgumentError, 'mail destination not given' if to_addrs.empty? to_addrs.flatten.each do |addr| rcptto addr end yield end
def rcptto_list(to_addrs) raise ArgumentError, 'mail destination not given' if to_addrs.empty? to_addrs.flatten.each do |addr| rcptto addr end yield end