Skip to content

Commit

Permalink
Added queue for mailer initializing (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamestel authored and Vitaly Baev committed Apr 4, 2018
1 parent ba3d407 commit b331624
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DkimMailServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ public function register()
$mailer = new Mailer(
$app['view'], $app['swift.mailer'], $app['events']
);

$mailer->setQueue(app('queue'));

if (method_exists($this, 'setMailerDependencies')) {
$this->setMailerDependencies($mailer, $app);
Expand Down

0 comments on commit b331624

Please sign in to comment.