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 #56 from chriswait/feature/v2-mail-driver-log
Browse files Browse the repository at this point in the history
(v2) - allow logging of SendInBlue params when MAIL_DRIVER=log #54
  • Loading branch information
vorban authored Feb 11, 2022
2 parents 156c6bc + 9e58984 commit bfeb480
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 bfeb480

Please sign in to comment.