rcpt example

$this->_connection->helo($this->_name);
        } else {
            // Reset connection to ensure reliable transaction             $this->_connection->rset();
        }

        // Set sender email address         $this->_connection->mail($this->_mail->getReturnPath());

        // Set recipient forward paths         foreach ($this->_mail->getRecipients() as $recipient) {
            $this->_connection->rcpt($recipient);
        }

        // Issue DATA command to client         $this->_connection->data($this->header . Zend_Mime::LINEEND . $this->body);
    }

    /** * Format and fix headers * * Some SMTP servers do not strip BCC headers. Most clients do it themselves as do we. * * @access protected * @param array $headers * @return void * @throws Zend_Transport_Exception */
Home | Imprint | This part of the site doesn't use cookies.