🔍 SMTP Connection Test - Lakbay Ifugao

Test 1: Gmail SMTP Port 587 (TLS)

✅ Port 587 is OPEN — Gmail SMTP with TLS should work.

Test 2: Gmail SMTP Port 465 (SSL)

✅ Port 465 is OPEN — Gmail SMTP with SSL should work.

Test 3: Mailtrap Port 2525 (Alternative for localhost)

✅ Mailtrap Port 2525 is OPEN — Mailtrap will work as fallback.

Test 4: PHP mail() function

â„šī¸ mail() function exists but won't work on localhost without a local mail server.

Test 5: PHPMailer Files

✅ Found: PHPMailer/src/PHPMailer.php

✅ Found: PHPMailer/src/SMTP.php

✅ Found: PHPMailer/src/Exception.php

Test 6: OpenSSL Extension (needed for SMTP)

✅ OpenSSL is enabled.

PHP Info

PHP Version : 8.3.30
Server      : LiteSpeed
OS          : Linux
OpenSSL     : /etc/pki/tls/cert.pem

📋 Recommendation

✅ Gmail SMTP will work! Just set the correct App Password in signup.php.

Make sure you have a Gmail App Password (not your regular Gmail password).
Get it here: myaccount.google.com/apppasswords


âš ī¸ DELETE smtp_test.php after testing — do not leave it on production!