From c2ed5efab51063531fdf885163b7b7cd012cb263 Mon Sep 17 00:00:00 2001 From: Frank John Begornia Date: Fri, 2 Jan 2026 01:57:22 +0800 Subject: [PATCH] Add test emails for both brands on container startup --- docker-entrypoint.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 9189268..e5c2e4f 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -50,6 +50,21 @@ fi echo "✓ Cron daemon is running" echo "" + +# Send test emails for both brands +echo "Sending test emails to verify configuration..." +echo "" + +echo "[Testing Crew Sportswear]" +BRAND=crew php /app/send_report.php +echo "" + +echo "[Testing MerchBay]" +BRAND=merchbay php /app/send_report.php +echo "" + +echo "✓ Test emails sent. Check graphics@crewsportswear.com inbox." +echo "" echo "Container is ready. Tailing logs..." echo "Press Ctrl+C to stop (but don't - this keeps the container alive!)" echo ""