diff options
Diffstat (limited to 'src/Mail/MailerServiceProvider.php')
-rw-r--r-- | src/Mail/MailerServiceProvider.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Mail/MailerServiceProvider.php b/src/Mail/MailerServiceProvider.php index 989fee8f..70725afd 100644 --- a/src/Mail/MailerServiceProvider.php +++ b/src/Mail/MailerServiceProvider.php @@ -28,9 +28,10 @@ class MailerServiceProvider extends ServiceProvider $this->app->instance(SwiftMailer::class, $swiftMailer); $this->app->instance('mailer.swift', $swiftMailer); - /** @var Mailer $mailer */ + /** @var EngelsystemMailer $mailer */ $mailer = $this->app->make(EngelsystemMailer::class); $mailer->setFromAddress($mailConfig['from']['address']); + $mailer->setSubjectPrefix($config->get('app_name')); if (!empty($mailConfig['from']['name'])) { $mailer->setFromName($mailConfig['from']['name']); } |