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
- Edit the configuration file: Open
config/email_config.phpin a text editor - Set up Gmail App Password:
- Go to Google Account Security
- Enable 2-Factor Authentication if not already enabled
- Go to App Passwords
- Generate a password for "Mail"
- Update the configuration:
- Set
SMTP_USERNAMEto your Gmail address - Set
SMTP_PASSWORDto your App Password
- Set
- 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