<?php
require_once __DIR__ . '/../../includes/email.php';

$message = htmlspecialchars($chap, ENT_QUOTES, 'UTF-8') . ' has requested a ' . htmlspecialchars($currency, ENT_QUOTES, 'UTF-8') . ' deposit of ' . htmlspecialchars($amount, ENT_QUOTES, 'UTF-8') . '.';

try {
    sendBankNotification('support@dbhacu.com', $currency . ' Deposit Notification', 'System', 'Deposit Request', '<p>' . $message . '</p>');
} catch (Exception $e) {
    error_log('Email send failed: ' . $e->getMessage());
}
