FinoviaPay Customer Email Sending Form

Select a customer from the users table, automatically load the HTML email template, and send it through your existing SMTP mailer configuration.

PDO + Users Table Ready

Send Email to Selected Customer

This form uses config.php for database connection, reads customers from the users table, and sends the selected HTML template through your SMTP mailer.
Setup Notes

Required File Paths

  • Database config: /config.php
  • SMTP mailer: /lib/mailer.php
  • Email template: /templates/finoviapay_telegram_auto_digital_banking_email.html
  • Customer source: users table
Detected users table columns from your screenshot:
id, name, email

Supported template placeholder:
{{CUSTOMER_NAME}}

Example usage inside template:
Dear {{CUSTOMER_NAME}},
Important:
Your config.php screenshot shows that it creates a PDO connection in $pdo. This file is already built to use that same PDO variable, so no mysqli conversion is needed.