Question
How to use an external SMTP server in Plesk?
Answer
Note: WordPress plugins will not be able to send mail using external SMTP settings from Plesk. It is required to install and configure an additional WordPress plugin, e.g., SMTP Mail, in order to use external SMTP server with WordPress.
-
Install the SMTP server:
-
via Plesk
-
Go to Tools & Settings > Updates.
-
On the Updates and Upgrades page, click Add/Remove Components.
-
On the Add/Remove Components page, expand Mail hosting and select MSMTP (relay only).
Warning: If local mail server is installed, it will be removed along with other mail components like Mailman, SpamAssassin, Dovecot.
-
Click Continue to begin the installation.
-
via a command-line interface
- Connect to the Plesk server via SSH.
-
Run the following command to install the SMTP server:
# plesk installer add --components msmtp
-
-
Once the component is installed, go to Tools & Settings > External SMTP Server.
-
Select Allow Plesk to send email notifications through this SMTP server to make notifications be sent via the external SMTP server.
-
Specify external SMTP server settings and click OK.
-
Go to Tools & Settings > External SMTP Server.
-
Uncheck the setting Use the mail server installed with Plesk and the default mail account created by Plesk.
-
Specify external SMTP server settings.