Skip to content

Commit

Permalink
Backward compatibility for upgrading from 3.0.x (#30)
Browse files Browse the repository at this point in the history
Backward compatibility for upgrading from 3.0.x
  • Loading branch information
poepperl-cc authored Jan 29, 2025
1 parent 0fba8ba commit b9bf2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function send($view, array $data = [], $callback = null)
$privateKey = config('dkim.private_key');
$selector = config('dkim.selector');
$domain = config('dkim.domain');
$mailers = config('dkim.mailers');
$mailers = config('dkim.mailers', ['smtp', 'sendmail', 'log', 'mail']);
if (in_array(strtolower(config('mail.default')), $mailers, true)) {
if (empty($privateKey)) {
throw new InvalidArgumentException('No private key set.', 1588115551);
Expand Down

0 comments on commit b9bf2ef

Please sign in to comment.