Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

tim.mcqueen's avatar

Where is spark::auth.emails.password set?

I'm trying to send password recovery emails using SMTP, and I'm getting the error, "Cannot send message without a sender address" It appears that the value 'spark::auth.emails.password' isn't set. It's referenced in the auth.php configuration file:

 'passwords' => [
        'users' => [
            'provider' => 'users',
            'email' => 'spark::auth.emails.password',
            'table' => 'password_resets',
            'expire' => 60,
        ],
    ],

0 likes
1 reply
tim.mcqueen's avatar

I figured it out! (I'm rusty with Laravel)

In case anyone else comes up with the same issue:

spark::auth.emails.password is a view located in resources/views/vendor/spark/auth/emails/password.php

The reason I was getting the error in the first place was that I hadn't configured config/mail.php properly:

'from' => ['address' => null, 'name' => null],

// should be

'from' => ['address' => '[email protected]', 'name' => 'My Name'],

Please or to participate in this conversation.