Laravel 7 will support multiple mail drivers
Closed this issue · 5 comments
mvdnbrk commented
If you stick with MAIL_DRIVER=postmark
it does not seem to be a problem.
Using Mail::mailer('postmark')->to(...)
might cause a problem:
laravel-postmark/src/PostmarkServiceProvider.php
Lines 23 to 25 in d2d7200
craigpaul commented
Seems to me, we'd be safe to remove that check, what's your opinion @mvdnbrk ? I can't remember why it was there in the first place.
mvdnbrk commented
The main change we need to make for L7 compatibility is to on this line:
swift.transport
should be replaced with mail.manager
@craigpaul Would you prefer to make the package backwards compatible or make the changes needed and bump to v3?