Skip to content

Commit 469dd96

Browse files
committed
ICL: New format of addresses supported.
1 parent e7e72a7 commit 469dd96

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Loggable.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ protected function getMailerHandler()
8181
$from = $this->getNotificationFrom();
8282
$level = $this->getNotificationLevel();
8383

84-
$mailerHandler = new NativeMailerHandler($recipients, $subject, $from, $level);
84+
85+
$to = to_rfc2822_email($recipients);
86+
$from = to_rfc2822_email($from);
87+
88+
$mailerHandler = new NativeMailerHandler($to, $subject, $from, $level);
8589
$mailerHandler->setContentType('text/html');
8690
$mailerHandler->setFormatter(new HtmlFormatter());
8791

0 commit comments

Comments
 (0)