#124 Queue e-mails for background processing

Kapalı
aheathershaw tarafından 7 ay önce açıldı · 3 yorum
aheathershaw 7 ay önce yorum yaptı

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 7 ay önce Version 2.2.0-beta.1 kilometre taşına ekledi
aheathershaw 7 ay önce kendini atadı
aheathershaw 7 ay önce
bug
etiketini ekledi
aheathershaw başlık Update forgot password form to BS4 iken Queue e-mails for background processing olarak değiştirildi 7 ay önce
aheathershaw 7 ay önce
wip
etiketini ekledi
aheathershaw 7 ay önce yorum yaptı
Sahibi

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.
aheathershaw 7 ay önce yorum yaptı
Sahibi

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
etiketi silindi 7 ay önce
aheathershaw 7 ay önce yorum yaptı
Sahibi

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 5 ay önce
enhancement
etiketini ekledi
aheathershaw
bug
etiketi silindi 5 ay önce
Bu konuşmaya katılmak için oturum aç.
Kilometre Taşı Yok
Atanan Kişi Yok
1 Katılımcı
Bitiş Tarihi

Bitiş tarihi atanmadı.

Bağımlılıklar

Bu konu henüz bir bağımlılık içermiyor.

Yükleniyor…
İptal
Kaydet
Henüz bir içerik yok.