How to set up SMTP relay in BeAdmin

Easy guide to configuring email sending via external SMTP server.

In BeAdmin, you can connect an external SMTP server (e.g., Gmail, Mail.ru, corporate email, or any SMTP provider) so the panel can send system emails: password reset notifications, Xray client configurations, reports, and other messages.

This improves delivery reliability and significantly reduces the chance of emails landing in spam.

Quick Setup Steps

  1. Log in to the BeAdmin panel.
  2. Go to Settings → System.
  3. In the SMTP relay block, fill in the fields:
  • SMTP server (host) — server address, for example: smtp.gmail.com (Gmail), smtp.mail.ru (Mail.ru), smtp.office365.com (Microsoft 365).
  • Port — usually 587 (STARTTLS) or 465 (SSL/TLS).
  • Username — full email address (e.g., yourname@gmail.com).
  • Password — account password or app password (for Gmail, you must generate an app password following Google's instructions).
  1. Enable the Server enabled toggle.

SMTP relay configuration in BeAdmin SMTP relay setup form

  1. Click Save.

After saving, the SMTP relay will be activated.

Testing the Relay

  1. In the same section, click Check SMTP.
  2. Enter the recipient email address for the test email.
  3. Click Send.

SMTP relay test SMTP relay test form

If the email arrives — setup is complete.

Example test email in inbox Example of a received test email

Useful Tips

  • For Gmail, always use an app password (regular password won’t work due to two-factor authentication).
  • Recommended ports: 587 (STARTTLS) — more secure and modern option; 465 (SSL/TLS) — if required by your provider.
  • If emails are not delivered — check the panel logs or create a support ticket.

Now BeAdmin uses your external SMTP server for all system notifications — delivery is reliable, and emails are much less likely to end up in spam.

Help

If you have any questions or need assistance, please contact us through the ticket system — we're always here to help!

Need help?Our engineers will help you free of charge with any question in minutesContact us