tavsec / laravel-dotdigital-mail-driver
Laravel email driver for DotDigital transactional emails
Installs: 1 789
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >7.4|>8.0|>8.1
- ext-curl: *
- guzzlehttp/guzzle: ^7.4
- illuminate/mail: ^9.17|10.*
- illuminate/support: ^9.17|10.*
README
This package provides Laravel email driver which uses DotDigital transactional emails via API.
Installation
In the root directory of the project, run:
composer require tavsec/laravel-dotdigital-mail-driver
Config
Add the following code snippet under config\mail.php
:
'mailers' => [ # ... "dotdigital" => [ "transport" => "dotdigital" ] ]
And change/add the following variables to your .env file:
MAIL_MAILER=dotdigital # ... DOTDIGITAL_REGION="r1" # r1, r2 or r3 DOTDIGITAL_USERNAME="username" # DotDigital API username DOTDIGITAL_PASSWORD="password" # DotDigital API password