#124 Queue e-mails for background processing

Cerrada
abierta hace 7 meses por aheathershaw · 3 comentarios

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 ha añadido esto al hito Version 2.2.0-beta.1 hace 7 meses ' issues.change_milestone_at=`modificó el hito de %!s(MISSING) a %!s(MISSING) %!s(MISSING)
aheathershaw auto asignado este hace 7 meses
aheathershaw ha añadido la etiqueta
bug
hace 7 meses
aheathershaw cambió el título de Update forgot password form to BS4 a Queue e-mails for background processing hace 7 meses
aheathershaw ha añadido la etiqueta
wip
hace 7 meses
aheathershaw comentado hace 7 meses
Propietario

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 comentado hace 7 meses
Propietario

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 ha eliminado la etiqueta
wip
hace 7 meses
aheathershaw comentado hace 7 meses
Propietario

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 ha añadido la etiqueta
enhancement
hace 5 meses
aheathershaw ha eliminado la etiqueta
bug
hace 5 meses
Inicie sesión para unirse a esta conversación.
Sin Milestone
No asignados
1 participantes
Fecha de vencimiento

Sin fecha de vencimiento.

Dependencias

Esta incidencia actualmente no tiene ninguna dependencia.

Cargando…
Cancelar
Guardar
Aún no existe contenido.