Email Configuration Test


Test 1: PHPMailer Installation

✅ PHPMailer is installed

Test 2: Email Settings

SettingValue
mail_from_emailnoreply@electicast.com
mail_from_nameHomnex
mail_hostmail.electicast.com
mail_port465
mail_usernamenoreply@electicast.com
mail_password************
mail_encryptionssl
mail_enabled1

Test 3: SMTP Connection Test

2026-08-29 10:59:04 SMTP ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo for mail.electicast.com failed: Name or service not known (0)
SMTP Error: Could not connect to SMTP host. Failed to connect to server

❌ Error: SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server Additional SMTP info: php_network_getaddresses: getaddrinfo for mail.electicast.com failed: Name or service not known

Exception: SMTP Error: Could not connect to SMTP host. Failed to connect to server

Test 4: Testing Alternative Configurations

Testing: SSL on port 465

❌ Error with SSL on port 465: SMTP Error: Could not connect to SMTP host. Failed to connect to server

Testing: TLS on port 587

❌ Error with TLS on port 587: SMTP Error: Could not connect to SMTP host. Failed to connect to server

Testing: No encryption on port 25

❌ Error with No encryption on port 25: SMTP Error: Could not connect to SMTP host. Failed to connect to server

Test 5: PHP mail() Function

❌ PHP mail() function is NOT available

Recommendations:

  1. Check if the email credentials are correct
  2. Verify that mail.electicast.com allows connections from your server IP
  3. Check if port 465 is open on your server (firewall settings)
  4. Verify that SSL certificate is valid for mail.electicast.com
  5. Check server error logs for more details
  6. Contact your email hosting provider (Electicast) to verify SMTP settings

Note: Change the test email address in this script to your actual email to receive test emails.