Fix transfer recipient emails not sending in production.
Deploy Ladill Transfer / deploy (push) Successful in 48s

Map MAIL_ENCRYPTION to a valid SMTP scheme, send recipient notifications
synchronously, document mail/queue env vars, and add a supervisor worker template.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-08 15:04:19 +00:00
co-authored by Cursor
parent 6cd2a75498
commit a0fce19402
4 changed files with 38 additions and 3 deletions
+11
View File
@@ -28,6 +28,17 @@ SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_DOMAIN=.ladill.com
QUEUE_CONNECTION=database
MAIL_MAILER=smtp
MAIL_HOST=mail.ladill.com
MAIL_PORT=587
MAIL_USERNAME=noreply@ladill.com
MAIL_PASSWORD=
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=noreply@ladill.com
MAIL_FROM_NAME="Ladill Transfer"
LADILL_SSO_CLIENT_ID=
LADILL_SSO_CLIENT_SECRET=
@@ -0,0 +1,14 @@
[program:ladill-transfer-worker]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/ladill-transfer/current/artisan queue:work database --sleep=3 --tries=3 --timeout=2100 --max-time=3600 --max-jobs=1000
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
user=www-data
numprocs=1
redirect_stderr=true
stdout_logfile=/var/www/ladill-transfer/shared/storage/logs/worker.log
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=5
stopwaitsecs=3600