1 year ago

Laravel Mailables

Posted 1 year ago by sktklaus

If I use this

        Mail::send('emails.jobapplication', $data, function($message) use ($data){
            $message->from('[email protected]');
            $message->to('[email protected]');

It works but I can't use the mail component

# Introduction

Video Notification Email.

@component('mail::button', ['url' => ''])
Button Text

{{ config('') }}

If I sent with ``` Mail::to('[email protected]')->send(new VideoNotification());

It uses the component, but I can't pass my data, 
How do I fix it?

Please sign in or create an account to participate in this conversation.