public function rcpt($to)
    {
        if ($this->_mail == false) {
            throw new SMTPException(__('Must call MAIL before calling RCPT'));
        }

        $this->_send('RCPT TO:<' . $to . '>');
        $this->_expect(array(250, 251), 300);

        $this->_rcpt = true;
    }
public function rcpt($to)
    {
        if ($this->_mail == false) {
            throw new SMTPException(__('Must call MAIL before calling RCPT'));
        }

        $this->_send('RCPT TO:<' . $to . '>');
        $this->_expect(array(250, 251), 300);

        $this->_rcpt = true;
    }
public function rcpt ( $ to ) { if ( $ this -> _mail == false ) { throw new SMTPException ( __ ( 'Must call MAIL before calling RCPT' ) ) ; } $ this -> _send ( 'RCPT TO:<' . $ to . '>' ) ; $ this -> _expect ( array ( 250 , 251 ) , 300 ) ; $ this -> _rcpt = true ; }
Calls the RCPT command on the server. May be called multiple times for more than one recipient.

@throws SMTPException
@param string $to
The address to send the email to.
@return void
Calls the RCPT command on the server . May be called multiple times for more than one recipient .