@if(empty($dbConfig['mail_host']))
❌ CRITICAL: Mail host is not configured
@endif
@if(empty($dbConfig['mail_username']))
❌ CRITICAL: Mail username is not configured
@endif
@if(empty($dbConfig['mail_password']))
❌ CRITICAL: Mail password is not configured
@endif
@if(empty($dbConfig['mail_from_address']))
❌ CRITICAL: From address is not configured
@endif
@if(!empty($dbConfig['mail_host']) && strpos($dbConfig['mail_host'], 'gmail.com') !== false)
⚠️ WARNING: You're using Gmail SMTP. Hostinger often blocks Gmail. Consider using Hostinger's mail server instead (mail.erpbangalore.in)
@endif
@if(!empty($dbConfig['mail_username']) && !empty($dbConfig['mail_from_address']) && $dbConfig['mail_username'] !== $dbConfig['mail_from_address'])
⚠️ WARNING: Username and From Address don't match. This can cause authentication issues.
@endif
@if($connectionTest['status'] === 'FAILED')
❌ ERROR: Cannot connect to SMTP server. Check if the host/port is correct and not blocked by firewall.
@endif
@if(!$extensions['openssl'])
❌ CRITICAL: OpenSSL extension is missing. Required for secure SMTP connections.
@endif