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
**Important**: When queueing mail using the `queue` function, it is no longer necessary to schedule the `email:send` command. Please make sure it is removed from `app/Console/Kernel.php`.
204
+
205
+
```php
206
+
<?php
207
+
208
+
use Stackkit\LaravelDatabaseEmails\Email;
209
+
210
+
Email::compose()
211
+
->queue();
212
+
213
+
// on a specific connection
214
+
Email::compose()
215
+
->queue('sqs');
216
+
217
+
// on a specific queue
218
+
Email::compose()
219
+
->queue(null, 'email-queue');
220
+
221
+
// timeout (send mail in 10 minutes)
222
+
Email::compose()
223
+
->queue(null, null, now()->addMinutes(10));
224
+
```
225
+
193
226
### Test mode (Optional)
194
227
195
228
When enabled, all newly created e-mails will be sent to the specified test e-mail address. This is turned off by default.
0 commit comments