You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mail.md
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ Within your `mail` configuration file, you will find a `mailers` configuration a
47
47
<aname="driver-prerequisites"></a>
48
48
### Driver / Transport Prerequisites
49
49
50
-
The API based drivers such as Mailgunand Postmark are often simpler and faster than sending mail via SMTP servers. Whenever possible, we recommend that you use one of these drivers.
50
+
The API based drivers such as Mailgun, Postmark, and MailerSend are often simpler and faster than sending mail via SMTP servers. Whenever possible, we
8000
recommend that you use one of these drivers.
51
51
52
52
<aname="mailgun-driver"></a>
53
53
#### Mailgun Driver
@@ -137,6 +137,27 @@ If you would like to define [additional options](https://docs.aws.amazon.com/aws
137
137
],
138
138
],
139
139
140
+
<aname="mailersend-driver"></a>
141
+
#### MailerSend Driver
142
+
143
+
[MailerSend](https://www.mailersend.com/), a transactional email and SMS service, maintains their own API based mail driver for Laravel. The package containing the driver may be installed via the Composer package manager:
144
+
145
+
```shell
146
+
composer require mailersend/laravel-driver
147
+
```
148
+
149
+
Once the package is installed, add the `MAILERSEND_API_KEY` environment variable to your application's `.env` file. In addition, the `MAIL_MAILER` environment variable should be defined as `mailersend`:
150
+
151
+
```shell
152
+
MAIL_MAILER=mailersend
153
+
MAIL_FROM_ADDRESS=app@yourdomain.com
154
+
MAIL_FROM_NAME="App Name"
155
+
156
+
MAILERSEND_API_KEY=your-api-key
157
+
```
158
+
159
+
To learn more about MailerSend, including how to use hosted templates, consult the [MailerSend driver documentation](https://github.com/mailersend/mailersend-laravel-driver#usage).
0 commit comments