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

bufferoverflow's avatar

Email verification event is not firing in Spark 7

I set up email verification on my Spark 7 app. The email is not sending when a register event is fired, but it's working when users click on "request another".

This is my code for the event:

<?php

namespace App\Providers;

use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;

class EventServiceProvider extends ServiceProvider
{
    /**
     * The event listener mappings for the application.
     *
     * @var array
     */
    protected $listen = [
    // Other Spark events...

        // Verification email
        'Illuminate\Auth\Events\Registered' => [
            'Illuminate\Auth\Listeners\SendEmailVerificationNotification',
        ],

    ];

    /**
     * Register any other events for your application.
     *
     * @return void
     */
    public function boot()
    {
        parent::boot();

        //
    }
}

Both files exist. Why is this the Registered event not firing the SendEmailVerification?

0 likes
0 replies

Please or to participate in this conversation.