Test Email MLM Daily Commission Paid Report

This runs sendDailyPaidReportEmailsForDate(date) — the same function used by the cron (step 5). It reads from distributor_payment_history for the chosen date and sends one email per paid distributor. You also receive a summary email at FINANCIAL_REPORT_EMAIL (from .env) so you always get at least one email when the report runs.

Why might I get 0 emails?

For date 2026-06-01:

  • Rows in distributor_payment_history: 0 (any amount)
  • Paid distributors (AM% + amount > 0): 0
  • With email in profile (first 25): 0

No rows for this date. Emails are only sent for distributors who were Paid & Transferred to Bank for this date. Run the payment batch or single transfer for this date first (Paid & Transferred to Bank report).

To receive the summary email: Set FINANCIAL_REPORT_EMAIL=your@email.com in api-backend/.env (same as the financial report). You will then get one summary per run with sent/skipped/failed counts.
← Back to Dashboard
Full 24h compile: cron-end-of-day-compile.php (may require ?key=YOUR_CRON_ARCHIVE_KEY if set in .env).