Looking to hire Laravel developers? Try LaraJobs

laravel-dotdigital-mail-driver maintained by tavsec

Description
Laravel email driver for DotDigital transactional emails
Author
Last update
2023/03/16 11:53 (dev-main)
License
Links
Downloads
2 588

Comments
comments powered by Disqus

Laravel DotDigital mail driver

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