How to use email verification system without User RegistreController in Laravel?
Hi, I need develop simple email verification system using Laravel. actually in My app here is not any register user or login. simply it is like this,
user can fill form data and submit.
2.then form data should verify by user logged with email and save to table with verify value default "0".
3.after clicked verify email link user should received conformation message and change verify values as "1" . and should send those information to admin email address.
how can I develop this system without Auth: command and user registration controller. if there are any tutorials resources please link me. and need to know may I use Illuminate\Contracts\Auth\MustVerifyEmail without using Auth scaffold:?
If you don't want users, then forget the laravel email verification. Its just confusing you.
Create your form to accept the data. Accept the data, create the record and set a random string 'token' on the model
Create a mailable
Send the mailable to the person that gave the form. In the mailable, make the action button go to a new route which also posts the token, to a new controller.
on receipt of this route with the token, find the model with that token and set the verified attribute
Nothing more complicated here than sending an email.