Set up SMTP in the admin panel
1
Open the page
Go to Platform, Backend Settings, SMTP Settings.
2
Fill in the connection
Fill in all seven fields. They are described in the table below the steps.
3
Save
Click Save. The confirmation reads “SMTP settings saved successfully”.
4
Send a test email
Click Test Connection. In the Test SMTP Connection window enter an Email Address, a Subject and a Message (up to 500 characters), then click Send.
Every field is required.
Save before you test. The test sends through the settings that are saved, not the ones still on screen. “Test email successfully sent” means the mail server accepted the message. If you see “Your SMTP settings are not configured correctly yet”, check the host, port, username, password and encryption.
TLS or SSL
The SMTP Encryption choice maps to how MagicPost opens the connection:
Your mail provider’s documentation states the right port and encryption pair. Match them exactly. A mismatch is the most common reason a test fails.
Which settings win
The SMTP form is the authoritative source. Whenever a saved row with a host exists, it overrides the mail values from.env for every email the site sends. The sender address and name are overridden only when you filled them in.
If no row exists yet, or its host is blank, MagicPost falls back to the .env mail keys:
.env.example. With MAIL_MAILER=log, emails go to the log file instead of being sent. For all environment variables see Environment variables.

