Queue e-mails for background processing #124

クローズ
aheathershaw2019-07-13 18:23:31 +01:00に作成 · 3件のコメント
オーナー

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
aheathershaw がイシューをクローズ 2019-07-14 16:15:07 +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
説明はありません。