krayin/laravel-crm · error · \Exception

Unsupported mail receiver driver [{$driver}].

Error message

Unsupported mail receiver driver [{$driver}].

What it means

Error "Unsupported mail receiver driver [{$driver}]." thrown in krayin/laravel-crm.

Source

Thrown at packages/Webkul/Email/src/Providers/EmailServiceProvider.php:33

     *
     * @return void
     */
    public function boot()
    {
        $this->loadMigrationsFrom(__DIR__.'/../Database/Migrations');

        $this->app->bind(InboundEmailProcessor::class, function ($app) {
            $driver = config('mail-receiver.default');

            if ($driver === 'sendgrid') {
                return $app->make(SendgridEmailProcessor::class);
            }

            if ($driver === 'webklex-imap') {
                return $app->make(WebklexImapEmailProcessor::class);
            }

            throw new \Exception("Unsupported mail receiver driver [{$driver}].");
        });
    }

    /**
     * Register services.
     *
     * @return void
     */
    public function register()
    {
        $this->registerCommands();
    }

    /**
     * Register the console commands of this package.
     */
    protected function registerCommands(): void
    {

View on GitHub (pinned to 13d6988cda)

When it happens

Trigger: Thrown at packages/Webkul/Email/src/Providers/EmailServiceProvider.php:33 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of krayin/laravel-crm@13d6988cda (2026-08-17). Data as JSON: /api/errors/5230485b9a797110. Report an issue: GitHub.