Skip to content

Commit 88b5eb6

Browse files
committed
refactor
1 parent 9c9cbe2 commit 88b5eb6

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/Mailer.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@ public function removeChannel($name)
9393
public function send(Message $message, $to, $channel = self::CHANNEL_DEFAULT)
9494
{
9595
foreach ($to as $address) {
96-
$message
97-
->removeHeader('To')
98-
->removeHeader('CC')
99-
->removeHeader('BCC')
100-
;
10196
$this->mass($message, array($address), array(), array(), $channel);
10297
}
10398
}

src/Transport/TransportInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
interface TransportInterface
88
{
9+
910
/**
1011
* Send mail
1112
*

0 commit comments

Comments
 (0)