Applicable to:
- Plesk for Linux
- Plesk for Windows
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.
Comments
3 comments
It's not clear if server emails would be sent via SMTP, doing as guided.
For me SMTP works with potfix and WP OffloadSES plugin..
I have web forms that configured to send with custom email sender. With the setting above, all emails are sent from authenticated account. How can I set each forms to send from different email addresses?
How can I change or configure the ‘from’ email account? I’m using an external SMTP server, but it doesn’t allow the use of any ‘from’ email other than the ‘login’ email (SMTP username).
Please sign in to leave a comment.