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
- Log in to the BeAdmin panel.
- Go to Settings → System.
- 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).
- Enable the Server enabled toggle.
SMTP relay setup form
- Click Save.
After saving, the SMTP relay will be activated.
Testing the Relay
- In the same section, click Check SMTP.
- Enter the recipient email address for the test email.
- Click Send.
SMTP relay test form
If the email arrives — setup is complete.
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!