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

Commit

Permalink
Merge pull request #54 from chriswait/feature/mail-driver-log
Browse files Browse the repository at this point in the history
allow logging of SendInBlue params when MAIL_DRIVER=log
  • Loading branch information
vorban authored Feb 10, 2022
2 parents cbef0ec + 0b8490e commit 26de232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SendinBlue.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ trait SendinBlue
*/
public function sendinblue($extraFields)
{
if ($this instanceof Mailable && $this->mailDriver() == "sendinblue") {
if ($this instanceof Mailable && ($this->mailDriver() == "sendinblue" || $this->mailDriver() == "log")) {
$this->withSwiftMessage(
function (Swift_Message $message) use ($extraFields) {
$message->embed(
Expand Down

0 comments on commit 26de232

Please sign in to comment.