Add Lettermint mail transport - #353
Open
sandervanhooft wants to merge 1 commit into
Open
Conversation
Install lettermint/lettermint-laravel and register a lettermint mailer so MAIL_MAILER=lettermint can be used. The token is read from LETTERMINT_PROJECT_TOKEN (falling back to LETTERMINT_TOKEN).
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds support for Lettermint as a mail provider via the official
lettermint/lettermint-laravelpackage.Why
Setting
MAIL_MAILER=lettermintcurrently fails withMailer [lettermint] is not defined., becauseMAIL_MAILERmust name an entry inconfig/mail.php. Any code path that sends mail (e.g. resending the email verification notification) then returns a 500.Changes
lettermint/lettermint-laravel(^2.2), which registers theletterminttransportlettermintmailer toconfig/mail.phplettermintentry toconfig/services.php, readingLETTERMINT_PROJECT_TOKEN(falls back toLETTERMINT_TOKEN)lettermintmailer resolves to the Lettermint transportExisting setups are unaffected; the default mailer is unchanged.
Usage