getHeaders(array('from', 'sender', 'replyTo', 'readReceipt', 'returnPath', 'to', 'cc', 'bcc', 'subject')); $headers = $this->_headersToString($headers); $message = implode("\r\n", (array)$email->message()); return array('headers' => $headers, 'message' => $message); } }