_config['eol'])) { $eol = $this->_config['eol']; } $headers = $email->getHeaders(array_fill_keys(array('from', 'sender', 'replyTo', 'readReceipt', 'returnPath', 'to', 'cc', 'bcc'), true)); $to = $headers['To']; unset($headers['To']); $header = $this->_headersToString($headers, $eol); $message = implode($eol, $email->message()); if (ini_get('safe_mode') || !isset($this->_config['additionalParameters'])) { return @mail($to, $email->subject(), $message, $header); } return @mail($to, $email->subject(), $message, $header, $this->_config['additionalParameters']); } }