Configuring the WordPress SMTP plug-in with Transactional Email
Reviewed on 29 October 2024 • Published on 24 April 2024
To complete the actions presented below, you must have:
- Create an API key from the Scaleway console. Make sure that you take note of your secret key.
- Create an Instance with a WordPress image from the InstantApps tab.
- Create a security group, check the Enable SMTP ports box, click + Add Instance, and select your Instance in the drop-down.
- Copy your Instance’s public DNS and paste it into a web browser, then hit
Enter
. The WordPress language configuration page displays.
- Select your preferred language, then click Continue. The WordPress installation page displays.
- Configure your WordPress website, then click Install WordPress. A confirmation page displays.
- Log in to your WordPress website using the credentials you have created.
- Click Plugins in the WordPress left-side menu. The Installed Plugins section displays.
- Click the Add New Plugin section.
- Type
WP Mail SMTP
in the search bar in the top right-hand corner.
- Click Install Now and wait until you see the Installed status.
- Click Installed Plugins and check that the plug-in appears in the list of your plugins.
- Click Activate under the plug-in.
- Hover over WP Mail SMTP in the WordPress left-side menu, and click Settings. You are redirected to the General tab.
- Click the Launch Setup Wizard button to configure the plug-in. You are redirected to the WP Mail SMTP welcome page.
- Click Let’s Get Started.
- Choose Other SMTP, then click Save and Continue.
- Enter
smtp.tem.scaleway.com
in the SMTP Host field.
- Select TLS in the Encryption field.
- In the SMTP Port enter either of the Transactional Email TLS connection ports:
465
or 2465
.
- Switch on the Enable Authentication toggle.
- Retrieve your SMTP username in the Overview tab of your Transactional Email domain in the Scaleway console, and paste it in the SMTP Username field.
- Use your Scaleway API secret key as your SMTP password.
- Enter the name you want your emails to originate from in the From Name field.
- Switch on the Force From Name toggle. This will ignore the from name value set by other plug-ins, and force WordPress to use the one you have defined in the step above.
- Switch the Force From Email toggle to ON. This will ignore the from email address value set by other plug-ins, and force WordPress to use the one you have defined in the step above.
- Click Save and Continue.
- Select the email features you want to enable, then click Save and Continue.
NoteYour Transactional Email domain must be verified at least 48 hours before you try sending any emails with the WordPress plug-in.
- Click the Email Test tab.
- Type the email address you want to send your test email to in the Send To field. For testing purposes, we recommend that you send the email to an email address you can access.
- Click the Send Email button.
- Check that the email was sent to the email address you have added.