Bonbonzone
3 months ago
175
0
Laravel

Sending a markdown email without initiating a Mailable?

Posted 3 months ago by Bonbonzone

I feel initiating a new Mailable class and defining my markdown in the build() method is overkill for some use cases.

Is there a way I can send directly, say from a Listener for example ? i.e.

Mail::to($recipient)->markdown('emails.markdown.path')->send();

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