Initial commit
This commit is contained in:
27
scripts/test-inactive-warning-emails.sh
Executable file
27
scripts/test-inactive-warning-emails.sh
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Quick script to test all 3 inactive profile warning emails
|
||||
USER_ID=${1:-102}
|
||||
|
||||
echo "================================================"
|
||||
echo " Testing Inactive profile warning Emails"
|
||||
echo "================================================"
|
||||
echo ""
|
||||
echo "Sending all 3 warning emails to user #$USER_ID"
|
||||
echo ""
|
||||
|
||||
echo "📧 Warning 1 (2 weeks remaining)..."
|
||||
php artisan email:send-test --type=inactive-warning-1 --receiver=user --id=$USER_ID
|
||||
|
||||
echo ""
|
||||
echo "📧 Warning 2 (1 week remaining)..."
|
||||
php artisan email:send-test --type=inactive-warning-2 --receiver=user --id=$USER_ID
|
||||
|
||||
echo ""
|
||||
echo "📧 Final Warning (24 hours remaining)..."
|
||||
php artisan email:send-test --type=inactive-warning-final --receiver=user --id=$USER_ID
|
||||
|
||||
echo ""
|
||||
echo "================================================"
|
||||
echo " ✅ All warning emails sent!"
|
||||
echo "================================================"
|
||||
Reference in New Issue
Block a user