Skip to content

Conversation

@nmokkenstorm
Copy link
Contributor

@nmokkenstorm nmokkenstorm commented Dec 8, 2018

Hey,

This shouldn't break any existing code, but at my current employer I wanted to add a custom mail driver, and integrate that with the framework as much as possible, but was unable to do so because PendingMail depends on a concrete instance of Mailable, instead of the contract.

This PR solves my issue, and maybe make it easier to add custom mail drivers for everyone in the future.

@nmokkenstorm nmokkenstorm changed the title Use Mailable contract instead of class wip: Use Mailable contract instead of class Dec 8, 2018
@nmokkenstorm nmokkenstorm changed the title wip: Use Mailable contract instead of class Use Mailable contract instead of class Dec 8, 2018
@TBlindaruk TBlindaruk changed the title Use Mailable contract instead of class [5.8] Use Mailable contract instead of class Dec 8, 2018
@GrahamCampbell
Copy link
Collaborator

Looks good to me, superficially at least. 👍

@nmokkenstorm
Copy link
Contributor Author

It's a very superficial change to be honest. I'm definitely willing into digging into the framework code at a later point to make registering custom mail drivers easier, if that kind of thing would be welcomed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants