Virtualizor sends emails for new VPSs, password resets, bandwidth warnings and admin alerts. Out of the box it may use the server's local mailer, which often lands in spam. Setting up Virtualizor email with a proper SMTP service fixes that.
Before you start
- Virtualizor admin access.
- An SMTP account on your domain (host, port, username, password), for example from your mail provider or a transactional email service.
- Access to your domain's DNS to add SPF and DKIM.
Set the sender and SMTP
- In the admin panel open Configuration → Email Settings (names can vary slightly by version).
- Set the From email to an address on your domain, such as
noreply@example.com, and a sender name. - Enable SMTP and enter the server, port (587 with TLS is common), username and password.
- Save, then send a test email if the page offers one.
Tip: Use a sender domain whose SPF record includes your SMTP provider, and enable DKIM at the provider. This is the biggest factor in avoiding spam folders.
Edit email templates
- Go to Configuration → Email Templates.
- Open templates such as new VPS, password reset and suspension notices.
- Rewrite them in your own words, keep the variables (placeholders) the template uses, and save.
If you sell through WHMCS, customers may already get welcome emails from WHMCS; disable duplicate Virtualizor emails to avoid confusion.
Admin alerts
Set the admin email address so you receive alerts about failed tasks, server problems and backups, and send them to a mailbox someone actually reads.
Troubleshooting
- Emails never arrive: wrong SMTP port or password, or the master's outbound port is blocked; test with
nc -zv smtp.example.com 587. - Emails go to spam: missing SPF/DKIM, or the From domain differs from the SMTP account domain.
- Garbled variables in emails: a placeholder was edited or removed in the template.
Frequently asked questions
Can I use Gmail as SMTP?
It can work with an app password, but a transactional email service or your own domain mail is more reliable.
Do customers need emails from Virtualizor if WHMCS sends them?
Usually not; choose one system for customer emails.
How do I check deliverability?
Send a test to a mail-tester service or check the headers for SPF and DKIM pass.
