<?php
require_once 'email_helper.php';

// change this to your own address to test
$to = 'dbramha@gmail.com';
$subject = '✅ Test Email from UCF Email Helper';
$body = '<p>This is a test email sent using <b>admin_send_email()</b> helper.</p>';

if (admin_send_email($to, $subject, $body)) {
    echo "✅ Email sent successfully to $to";
} else {
    echo "❌ Email sending failed. Check newsletter_log.txt for details.";
}
?>
