For players to be able to reset their game account password themselves directly from the homepage, you need a working email account and the correct SMTP settings configured in the homepage's config file.
Creating the email account in cPanel
- Log in to cPanel and go to "Email" → "Email Accounts".
- Click "Create", fill in the address you want (e.g. no-reply@yourdomain.com) and a strong password.
- Save the login details — you'll use them in the homepage's config file.
Configuring the config.php file
- Connect via WinSCP to the homepage's public_html folder.
- Open the config.php file with a text editor (Notepad++ recommended).
- Set the SMTP parameters: $SMTPAuth = true; $SMTPSecure = "ssl"; $EmailHost = your mail server (e.g. mail.yourdomain.com); $emailPort = 465;
- Fill in $email_username and $email_password with the address and password you created earlier in cPanel.
- Save the file and test the password-reset function directly from the homepage.
Don't reuse your cPanel login as the email password — always create a dedicated, unique password for the email account used to send notifications.
Ran into an issue or need extra help?
Contact the support team