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-04-16:

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

Preview (first 25):

Distributor IDEmailWould send?
AM1sol…@yahoo.comYes
AM13mah…@gmail.comYes
AM182tam…@gmail.comYes
AM183mah…@gmail.comYes
AM2sol…@yahoo.comYes
AM35mah…@gmail.comYes
AM67mah…@gmail.comYes
AM68sol…@yahoo.comYes
AM7tef…@gmail.comYes
AMRJsol…@yahoo.comYes

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).