Queue e-mails for background processing #124

已關閉
建立於 2019-07-13 18:23:31 +01:00aheathershaw · 3 comment
擁有者

Queue e-mails in the database and use a Laravel queue worker to actually send the e-mails on a background job.

Queue e-mails in the database and use a Laravel queue worker to actually send the e-mails on a background job.
aheathershaw 新增到 Version 2.2.0-beta.1 里程碑 2019-07-13 18:23:31 +01:00
aheathershaw 指派給自己 2019-07-13 18:23:31 +01:00
aheathershaw 加入了
bug
標籤 2019-07-13 18:23:31 +01:00
aheathershaw 將標題從 Update forgot password form to BS4 改為 Queue e-mails for background processing 2019-07-13 21:06:56 +01:00
aheathershaw 加入了
wip
標籤 2019-07-13 21:07:28 +01:00
作者
擁有者

The best way I can see this working is to use Laravel Notifications and dynamically adjust the “via” result.

(Laravel can not choose whether to queue a notification dynamically.)

We could have a custom notification channel that writes it to the database and a custom worker that processes that table.

This would however mean converting all Mailables to Notifications.

The best way I can see this working is to use Laravel Notifications and dynamically adjust the “via” result. (Laravel can not choose whether to queue a notification dynamically.) We could have a custom notification channel that writes it to the database and a custom worker that processes that table. This would however mean converting all Mailables to Notifications.
作者
擁有者

Actually as of 5.3.7, you can use Mailables in conjunction with notifications:

https://laracasts.com/discuss/channels/laravel/laravel-53-using-mailable-inside-a-notification?page=0

Actually as of 5.3.7, you can use Mailables in conjunction with notifications: https://laracasts.com/discuss/channels/laravel/laravel-53-using-mailable-inside-a-notification?page=0
aheathershaw 移除了
wip
標籤 2019-07-14 16:15:03 +01:00
作者
擁有者

This is now complete. To run the queue, use the command below:

php artisan bt-queue:send-emails

or reference the example systemd service in resources/systemd/blue-twilight-email.service.

This is now complete. To run the queue, use the command below: `php artisan bt-queue:send-emails` or reference the example systemd service in `resources/systemd/blue-twilight-email.service`.
aheathershaw 加入了
enhancement
並移除了
bug
標籤 2019-09-07 11:07:55 +01:00
登入 才能加入這對話。
未選擇里程碑
沒有負責人
1 參與者
通知
截止日期
截止日期無效或超出範圍,請使用「yyyy-mm-dd」的格式。

未設定截止日期。

先決條件

未設定先決條件。

參考: aheathershaw/blue-twilight#124
No description provided.