diff --git a/admin/ajax_test_email.php b/admin/ajax_test_email.php index 1879dee..4f0274b 100644 --- a/admin/ajax_test_email.php +++ b/admin/ajax_test_email.php @@ -16,11 +16,11 @@ if (!filter_var($recipient, FILTER_VALIDATE_EMAIL)) { exit; } -$subject = "SMTP Test Email - CharityHub"; +$orgName = get_org_name(); +$subject = "SMTP Test Email - " . $orgName; $htmlBody = "
If you are reading this, your SMTP configuration is working correctly.
Sent at: " . date('Y-m-d H:i:s') . "
"; -$textBody = "SMTP Test Email - CharityHub\n\nTest Successful!\nIf you are reading this, your SMTP configuration is working correctly.\nSent at: " . date('Y-m-d H:i:s'); +$textBody = "SMTP Test Email - " . $orgName . "\n\nTest Successful!\nIf you are reading this, your SMTP configuration is working correctly.\nSent at: " . date('Y-m-d H:i:s'); $result = MailService::sendMail($recipient, $subject, $htmlBody, $textBody); -echo json_encode($result); - +echo json_encode($result); \ No newline at end of file diff --git a/admin/audit_logs.php b/admin/audit_logs.php index 0380ac3..63660c1 100644 --- a/admin/audit_logs.php +++ b/admin/audit_logs.php @@ -20,7 +20,7 @@ $logs = $pdo->query(" -