Skip to content
This repository was archived by the owner on Apr 5, 2023. It is now read-only.

Commit 26de232

Browse files
authored
Merge pull request #54 from chriswait/feature/mail-driver-log
allow logging of SendInBlue params when MAIL_DRIVER=log
2 parents cbef0ec + 0b8490e commit 26de232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SendinBlue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ trait SendinBlue
1313
*/
1414
public function sendinblue($extraFields)
1515
{
16-
if ($this instanceof Mailable && $this->mailDriver() == "sendinblue") {
16+
if ($this instanceof Mailable && ($this->mailDriver() == "sendinblue" || $this->mailDriver() == "log")) {
1717
$this->withSwiftMessage(
1818
function (Swift_Message $message) use ($extraFields) {
1919
$message->embed(

0 commit comments

Comments
 (0)