- In WordPress, go to Plugins › Add New Plugin, search for WP Mail SMTP and install and activate it.
- Go to WP Mail SMTP › Settings.
- Set From Email to a mailbox on your domain and tick Force From Email.
- Under Mailer, choose Other SMTP.
- Enter:
- SMTP Host: your server hostname
- Encryption: SSL, Port: 465 (or TLS on port 587)
- Authentication: On
- Username: the full email address
- Password: the mailbox password
- Save, then use the Email Test tab to confirm it works.
If your email is hosted with Microsoft 365 or Google Workspace, WP Mail SMTP has dedicated mailer options for those services.