method
send0
![No documentation Importance_0](https://d2vfyqvduarcvs.cloudfront.net/images/importance_0.png?1349367920)
v1_8_6_287 -
Show latest stable
-
0 notes -
Class: Net::SMTP
- 1_8_6_287 (0)
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125
- 1_9_3_392
- 2_1_10
- 2_2_9
- 2_4_6
- 2_5_5
- 2_6_3
- What's this?
send0( from_addr, to_addrs )
private
Hide source
# File lib/net/smtp.rb, line 533 def send0( from_addr, to_addrs ) raise IOError, 'closed session' unless @socket raise ArgumentError, 'mail destination not given' if to_addrs.empty? if $SAFE > 0 raise SecurityError, 'tainted from_addr' if from_addr.tainted? to_addrs.each do |to| raise SecurityError, 'tainted to_addr' if to.tainted? end end mailfrom from_addr to_addrs.each do |to| rcptto to end res = critical { check_response(get_response('DATA'), true) yield recv_response() } check_response(res) end