Answer the question
In order to leave comments, you need to log in
Laravel changing standard mail?
Used the standard form Auth laravel'a. To send a follow-up email, follow the link
resend
Answer the question
In order to leave comments, you need to log in
You use your trait in the user based on the original Illuminate\Contracts\Auth\MustVerifyEmail .
Then you create your Notification with the body of the letter you need and write it in your trait instead of the original .
After the logic you need in the controller, just call this method on the user
<?php
...
Auth::user()->sendEmailVerificationNotification();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question