|
|
@@ -44,8 +44,10 @@ class MailTransport extends AbstractTransport {
|
|
|
$headers[$key] = str_replace(array("\r", "\n"), '', $header);
|
|
|
}
|
|
|
$headers = $this->_headersToString($headers, $eol);
|
|
|
- $message = implode($eol, $email->message());
|
|
|
$subject = str_replace(array("\r", "\n"), '', $email->subject());
|
|
|
+ $to = str_replace(array("\r", "\n"), '', $to);
|
|
|
+
|
|
|
+ $message = implode($eol, $email->message());
|
|
|
|
|
|
$params = isset($this->_config['additionalParameters']) ? $this->_config['additionalParameters'] : null;
|
|
|
$this->_mail($to, $subject, $message, $headers, $params);
|