Add recipient email and milestone notifications on transfer create.
Deploy Ladill Transfer / deploy (push) Successful in 44s

Recipients can be emailed the download link immediately and at optional
reminders (7/3/1 days before unavailable, or when grace period starts).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-08 12:38:58 +00:00
co-authored by Cursor
parent 311b5b40bb
commit 7c4673adb6
15 changed files with 851 additions and 5 deletions
+11
View File
@@ -29,6 +29,17 @@ return [
// Days to keep files after a failed renewal before automatic deletion.
'grace_period_days' => (int) env('TRANSFER_GRACE_PERIOD_DAYS', 15),
// Recipient email milestones (checkboxes on the create transfer form).
'recipient_email_milestones' => [
'created' => 'Send download link immediately',
'7' => '7 days before files become unavailable',
'3' => '3 days before files become unavailable',
'1' => '1 day before files become unavailable',
'grace' => 'When files enter the payment grace period',
],
'default_recipient_email_milestones' => ['created'],
// Legacy env keys (billing is monthly until cancelled by non-payment + grace).
'default_retention_days' => (int) env('TRANSFER_DEFAULT_RETENTION_DAYS', 30),
'mail_retention_days' => (int) env('TRANSFER_MAIL_RETENTION_DAYS', 30),