Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
Long names in setTo
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Novikov authored and Alexey Novikov committed Nov 7, 2016
1 parent a6d3097 commit 392c016
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/classes/Swift/Transport/MailTransport.php
Expand Up @@ -160,6 +160,7 @@ public function send(Swift_Mime_Message $message, &$failedRecipients = null)
$headers = str_replace("\r\n", PHP_EOL, $headers);
$subject = str_replace("\r\n", PHP_EOL, $subject);
$body = str_replace("\r\n", PHP_EOL, $body);
$to = str_replace("\r\n", PHP_EOL, $to);
} else {
// Windows, using SMTP
$headers = str_replace("\r\n.", "\r\n..", $headers);
Expand Down

0 comments on commit 392c016

Please sign in to comment.