Email Verification and Mailer Interception package for controlling email sending.

dev-master 2017-01-20 16:36 UTC

This package is auto-updated.

Last update: 2022-06-23 01:18:42 UTC


Do not send any email to an unverified or blacklisted customer. This package helps solving this task.

Latest Stable Version Latest Unstable Version License Total Downloads


composer require ipunkt/laravel-email-verification-interception:dev-master

Add to providers in config/app.php:



Add to your composer.json following lines

"require": {
	"ipunkt/laravel-email-verification-interception": "dev-master"

Add \Ipunkt\Laravel\EmailVerificationInterception\ServiceProvider::class, to providers in app/config/app.php.

Run php artisan vendor:publish --provider="Ipunkt\Laravel\EmailVerificationInterception\ServiceProvider" --tag=config to publish the config.

We ship an activation mail template. For customizing this run php artisan vendor:publish --provider="Ipunkt\Laravel\EmailVerificationInterception\ServiceProvider" --tag=view.

We also provide migration to create a database table. Laravel automatically migrates it. If you want to customize it just run php artisan vendor:publish --provider="Ipunkt\Laravel\EmailVerificationInterception\ServiceProvider" --tag=migrations


The main configuration settings handle the activation mail stuff.

Activation section


We can register event listening by default. So every time a Registered event is fired, the email service interacts and sends a mailable for account confirmation.


Mail subject for activation mail. You can change the subject. This subject will be used for the shipped ActivateEmail mailable.


You have to set your sender data for the activation mail.


The template view for the activation mail sent.

You can customize this view template content by publishing it to your code base by typing php artisan vendor:publish --provider="Ipunkt\Laravel\EmailVerificationInterception\ServiceProvider" --tag=view.

User Model

Sometimes the user model has a different model class. You can set it here.