This update completes and improves the email password recovery system.
Changes:
- Added complete SMTP email password recovery flow
- Added HTML recovery emails with inline logo
- Added configurable mail encryption: NONE, STARTTLS, SSL
- Added /maxauth testmail <email> for SMTP diagnostics
- Added recovery email send status, elapsed time, host, port, and encryption reporting
- Improved /confirmpasswordrecovery usage messages when confirmPassword is enabled
- Limited player recovery commands to the login phase only
- Improved recovery-related messages and documentation
Config option:
Code (YAML):
mailHost
: ''
mailPort
: 25
mailUser
: ''
mailPassword
: ''
mailName
: Your server name
mailEncryption
: STARTTLS
Use:
- NONE for plain SMTP
- STARTTLS for ports such as 587
- SSL for ports such as 465
New admin test command:
Code (Text):
/maxauth testmail <email>
This sends a diagnostic recovery email with test code 123456 and shows the send status directly in chat.
Password recovery should now be fully usable with properly configured SMTP settings.