Test

This is a test email to verify mail functionality.

'; $text = 'Test: This is a test email to verify mail functionality.'; echo "Sending email to $to...\n"; $res = MailService::sendMail($to, $subject, $html, $text); if ($res['success']) { echo "SUCCESS: Email sent successfully.\n"; } else { echo "ERROR: " . ($res['error'] ?? 'Unknown error') . "\n"; }