Skip to main content
Navigate to Admin → Settings → Email to configure outgoing mail.

SMTP settings

FieldDescription
HostSMTP server hostname (e.g. smtp.mailgun.org)
PortUsually 587 (TLS) or 465 (SSL)
UsernameSMTP authentication username
PasswordSMTP authentication password
Encryptiontls or ssl
From AddressThe sender email address (e.g. noreply@yourdomain.com)
From NameThe sender display name
Settings saved here override values in the .env file at runtime. If you update SMTP settings in the admin panel, you do not need to restart the application.

Transactional emails sent by StartMyVPN

EmailTrigger
Service ActivatedNew subscription becomes active
Service SuspendedSubscription suspended for non-payment or manual action
Service ReactivatedSuspended subscription is reactivated
Service CancelledSubscription is cancelled
Expiration ReminderSent N days before a subscription expires
Payment ReceiptSuccessful payment processed
Password ResetUser requests a password reset
Email VerificationNew user registration

Testing email delivery

After configuring SMTP, use the built-in test:
php artisan tinker
>>> \Mail::raw('Test email', fn ($m) => $m->to('you@example.com')->subject('Test'));
Or send a password reset email to yourself through the login page.