Skip to content

How to configure SMTP relay for outgoing emails

In BeAdmin, you can connect an external SMTP server (such as Gmail) to enable the panel to send system emails — such as password reset links, Xray client configurations, and other notifications. This improves deliverability and reduces the risk of messages being marked as spam.

To configure SMTP relay, follow these steps:

Step 1. Enter SMTP Server Details

Go to Settings → System and provide the details of the mail server you want to use. Make sure to enable the Server Enabled toggle — after saving the settings, the relay will be activated.

Enter the following values:

  • SMTP server (host): e.g. smtp.gmail.com for Gmail
  • Port: 587 (STARTTLS) or 465 (SMTPS)
  • Username: your email address, e.g. you@gmail.com
  • Password: for Gmail, generate an app-specific password

💡 Tip

You can find SMTP settings for other popular providers (such as Outlook, Zoho Mail, iCloud Mail, Fastmail, etc.) in their official support documentation.

Step 2. Test Email Sending

After that:

  1. BeAdmin will automatically use the configured SMTP relay for all outgoing messages — such as password resets and system notifications.
  2. To verify that everything works, log out of the panel and try sending yourself a password reset link. If the email arrives successfully, your SMTP relay is working correctly.

⚠️ Warning

If you disable the SMTP relay, outgoing email will no longer work — including password recovery via the reset form.

Setup Complete

Your BeAdmin server is now using an external SMTP relay for sending emails. This ensures reliable delivery and allows the panel to send technical notifications as intended.

You can change or disable the SMTP settings at any time via Settings → System.

BeAdmin © 2025. All rights reserved.