Closed JawadR1 closed 1 year ago
Thanks, let me check it out.
FWIW, I have a local change I'm willing to upstream that allows the class of the mailable to be specified. Anyone that wants Markdown can create a custom mailable class, while people who want to stick with the default views can just accept the default.
This also makes it much easier for users of the library to customise their e-mails without making changes to this library. Thoughts?
Yeah, I think allowing users to specify their own mailable class is the better way.
@alex-ng-wesoft can you give a pull request to me to review.
The current view for email is a simple blade view but Laravel offers an optional markdown view as well.
The advantages of using markdown view over simple blade view are:
It's just one function update and I don't see any disadvantages to using it.
Love to hear your thoughts about this.