-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use SendGrid's SDK without the Laravel SendGrid driver...
- Loading branch information
Showing
4 changed files
with
99 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
dc730b3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nazariy-tertyshnyi are you asking why I didn't implement this using Laravel's contract?
I did use a library that used Laravel's contract as you can see, but I removed it, because it didn't support multiple "to" fields.
Then I realized that in my example of what you can do with SendGrid that I would need to do a lot of custom stuff, I didn't want to reimplement this as a mailable, and I opted to just use SendGrid's SDK directly.
It's still possible to use the library with the mailable and to use it alongside the SendGrid SDK, but the aim of my examples here were intended to focus on the custom SendGrid functionality.