# File lib/protocols/smtpclient.rb, line 240
240:                 def invoke_rcpt_to
241:                         @rcpt_responses ||= []
242:                         l = @rcpt_responses.length
243:                         to = @args[:to].is_a?(Array) ? @args[:to] : [@args[:to].to_s]
244:                         if l < to.length
245:                                 send_data "RCPT TO: <#{to[l]}>\r\n"
246:                                 @responder = :receive_rcpt_to_response
247:                         else
248:                                 e = @rcpt_responses.select {|rr| rr.last == 2}
249:                                 if e and e.length > 0
250:                                         invoke_data
251:                                 else
252:                                         invoke_error
253:                                 end
254:                         end
255:                 end