Email Setup Wizard

Email Configuration Status

This wizard helps you configure email settings for the password reset functionality. The system needs proper SMTP configuration to send password reset emails to users.

Current Configuration

SMTP Host:
smtp.gmail.com
SMTP Port:
587
SMTP Username:
your-actual-email@gmail.com (Configured)
SMTP Password:
Configured (hidden for security)
From Address:
noreply@dti.gov.ph
From Name:
DTI Tracking System

How to Configure Email

  1. Edit the configuration file: Open config/email_config.php in a text editor
  2. Set up Gmail App Password:
  3. Update the configuration:
    • Set SMTP_USERNAME to your Gmail address
    • Set SMTP_PASSWORD to your App Password
  4. Test the configuration: Use the test form below

Test Email Configuration

Enter an email address to test if the configuration is working correctly:

Configuration File Location

The email configuration is stored in:

config/email_config.php

You can edit this file directly or use the instructions above to configure your email settings.

Troubleshooting

  • Emails not sending: Check your Gmail App Password and ensure 2FA is enabled
  • SMTP errors: Verify your firewall allows outbound connections on port 587
  • Development mode: If email fails, reset links are logged to indexes/reset_link_log.txt
  • Gmail issues: Make sure you're using an App Password, not your regular Gmail password