Email Settings Verification



Warning: session_start(): Session cannot be started after headers have already been sent in /home/fransamh/public_html/includes/config.php on line 89

1. Database Connection

✅ Database connected successfully

2. System Settings Table


Warning: Undefined property: PDOStatement::$num_rows in /home/fransamh/public_html/verify_email_settings.php on line 31
⚠️ system_settings table does NOT exist

Email settings will use hardcoded defaults from email_service.php

3. Email Settings from Database

Setting KeyValueStatus
mail_from_emailno-reply@fransamhomes.com✅ Found
mail_from_nameFransam Homes✅ Found
mail_hostmail.fransamhomes.com✅ Found
mail_port587✅ Found
mail_usernameno-reply@fransamhomes.com✅ Found
mail_password************✅ Found
mail_encryptiontls✅ Found
mail_enabledNot set⚠️ Using default

4. Email Service Configuration

⚠️ IMPORTANT UPDATE: Email settings are now loaded from the database only.

There are NO hardcoded fallback settings. If settings are missing from the database, the email service will be disabled.

📝 Action Required: Configure all email settings in Admin Panel → Settings → Email Settings

❌ Missing Settings Detected

Some required email settings are not configured in the database. Email service will not work until all settings are configured.

→ Check Email Settings Status

5. PHPMailer Availability

✅ PHPMailer found at: /home/fransamh/public_html/includes/PHPMailer/src/PHPMailer.php
✅ PHPMailer class loaded successfully

6. Email Service Class

✅ EmailService class file loaded
✅ EmailService class exists
✅ EmailService instance created successfully

7. PHP Configuration

SettingValue
PHP Version8.1.34
OpenSSL Support✅ Enabled
SMTP Support❌ Disabled
Max Execution Time30 seconds
Default Socket Timeout60 seconds
Allow URL fopen❌ Disabled

8. Summary

⚠️ Some settings are missing from database, using hardcoded defaults

This is OK if the hardcoded defaults are correct.


Next Steps:

  1. Test Email Configuration →
  2. Run Detailed Email Tests →
  3. Check PHP error logs: C:\xampp\php\logs\php_error_log
  4. Check Apache error logs: C:\xampp\apache\logs\error.log

Generated: 2026-08-29 11:02:34