Send invoice INV-2026-0004
Generates a fresh PDF and emails it as an attachment.
SMTP is not configured
To enable sending, set the required variables below and restart:
- SMTP_HOST — your provider's SMTP host (e.g.
smtp.gmail.com) - SMTP_USER and SMTP_PASS — your SMTP credentials
Optional: SMTP_FROM (defaults to SMTP_USER), SMTP_PORT (defaults to 587) and SMTP_SECURE (set to 1 for implicit TLS on port 465).