CHLink - găzduire web, VPS și jocuri

How to configure your Metin2 homepage to send password-reset emails

Enable the "Forgot password?" option on your Metin2 server homepage by correctly configuring SMTP.

← All guidesMetin24 min read

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

  1. Log in to cPanel and go to "Email" → "Email Accounts".
  2. Click "Create", fill in the address you want (e.g. no-reply@yourdomain.com) and a strong password.
  3. Save the login details — you'll use them in the homepage's config file.

Configuring the config.php file

  1. Connect via WinSCP to the homepage's public_html folder.
  2. Open the config.php file with a text editor (Notepad++ recommended).
  3. Set the SMTP parameters: $SMTPAuth = true; $SMTPSecure = "ssl"; $EmailHost = your mail server (e.g. mail.yourdomain.com); $emailPort = 465;
  4. Fill in $email_username and $email_password with the address and password you created earlier in cPanel.
  5. 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

Frequently asked questions