Laravel where do you pass data when sending markdown emails?
Go to solution
Solved by nuc,
4 hours ago, Joveice said:How do I pass it with this? I tried to pass it with VerifyEmail($data) but the IDE is complaining about it so I didn't do more testing on it
Mail::to($user->email)->send(new VerifyEmail());
Via the constructor of VerifyEmail.
Please consult the docs for w/e framework/lib you're using https://laravel.com/docs/5.6/mail
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now