Mail facade should use a mailable's custom mailer automatically #38971
Unanswered
florentpoujol
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When working with mailables, you can pass an instance to the Mail facade
send()
method and it will extract everything needed from the mailable instance, including the recipients, but not any custom mailer that may be set on the mailable.I understand this is not a bug and is because the mail facade will work with the default mailer, unless we expressly call the
mailer()
method before we callsend()
like that :But since the point of mailables is to encompass everything related to a single email, shouldn't it be the case automatically ?
Beta Was this translation helpful? Give feedback.
All reactions