NavigationContentFooter
Jump toSuggest an edit

Configuring the WordPress SMTP plug-in with Transactional Email

Reviewed on 29 October 2024Published on 24 April 2024
  • smtp
  • wordpress

Before you start

To complete the actions presented below, you must have:

  • A Scaleway account logged into the Scaleway console
  • Owner status or IAM permissions allowing you to perform actions in the intended Organization
  • Configured your domain with Transactional Email
  • Added SPF, DKIM, MX and DMARC records to your domain

Creating your resources

  1. Create an API key from the Scaleway console. Make sure that you take note of your secret key.
  2. Create an Instance with a WordPress image from the InstantApps tab.
  3. Create a security group, check the Enable SMTP ports box, click + Add Instance, and select your Instance in the drop-down.

Configuring and logging in to your WordPress website

  1. Copy your Instance’s public DNS and paste it into a web browser, then hit Enter. The WordPress language configuration page displays.
  2. Select your preferred language, then click Continue. The WordPress installation page displays.
  3. Configure your WordPress website, then click Install WordPress. A confirmation page displays.
  4. Log in to your WordPress website using the credentials you have created.

Installing the WordPress plug-in

  1. Click Plugins in the WordPress left-side menu. The Installed Plugins section displays.
  2. Click the Add New Plugin section.
  3. Type WP Mail SMTP in the search bar in the top right-hand corner.
  4. Click Install Now and wait until you see the Installed status.
  5. Click Installed Plugins and check that the plug-in appears in the list of your plugins.
  6. Click Activate under the plug-in.

Configuring the WordPress plug-in

  1. Hover over WP Mail SMTP in the WordPress left-side menu, and click Settings. You are redirected to the General tab.
  2. Click the Launch Setup Wizard button to configure the plug-in. You are redirected to the WP Mail SMTP welcome page.
  3. Click Let’s Get Started.
  4. Choose Other SMTP, then click Save and Continue.
  5. Enter smtp.tem.scaleway.com in the SMTP Host field.
  6. Select TLS in the Encryption field.
  7. In the SMTP Port enter either of the Transactional Email TLS connection ports: 465 or 2465.
  8. Switch on the Enable Authentication toggle.
  9. 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.
  10. Use your Scaleway API secret key as your SMTP password.
  11. Enter the name you want your emails to originate from in the From Name field.
  12. 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.
  13. 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.
  14. Click Save and Continue.
  15. Select the email features you want to enable, then click Save and Continue.
Note

Your Transactional Email domain must be verified at least 48 hours before you try sending any emails with the WordPress plug-in.

Sending emails

  1. Click the Email Test tab.
  2. 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.
  3. Click the Send Email button.
  4. Check that the email was sent to the email address you have added.
Was this page helpful?
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2024 – Scaleway