WordPress sends messages such as password resets and form notifications through the site’s configured mail system. Using an authenticated SMTP service can help when the default mail setup is unavailable or does not meet your provider’s requirements.

Gather the mail settings

Obtain the sending service’s SMTP hostname, port, encryption method and authentication requirements. Use an email address the service authorises you to send from.

Some providers require an app password or a dedicated integration using modern authentication. A normal mailbox password is not always sufficient. The steps below use WP Mail SMTP’s Other SMTP option for a service that supports SMTP username-and-password authentication.

Install and configure the plugin

  1. Sign in to the WordPress dashboard as an administrator.
  2. Open Plugins > Add New Plugin, search for WP Mail SMTP, and install and activate it.
  3. Open WP Mail SMTP > Settings.
  4. Set From Email to your authorised sending address and From Name to the name recipients should see.
  5. Select Other SMTP as the mailer.
  6. Enter the provider’s SMTP Host, Encryption and SMTP Port settings. Common combinations include TLS with port 587 or SSL with port 465, but follow your provider’s instructions.
  7. Enable Authentication and enter the required SMTP username and password or app password.
  8. Select Save Settings.

Use the provider’s dedicated mailer instead if it requires a different authentication method. Protect the credentials and restrict access to the plugin’s settings.

For contact forms, keep the From address authorised by the sending service. Put the visitor’s address in the form’s Reply-To setting rather than using it as the From address.

Test email delivery

Open WP Mail SMTP > Tools > Email Test and send a test to an address you control. Check that it arrives, then test the site’s actual forms and other required notifications.

A successful SMTP connection means the service accepted the message, not that it reached the recipient’s inbox. Check spam folders and the provider’s delivery records if messages are missing. Configure SPF, DKIM and DMARC according to the sending provider’s instructions.

If the plugin cannot connect, recheck the hostname, port, encryption and credentials. Ask the hosting administrator to investigate any outbound-mail restriction; do not disable server security or certificate checks to bypass the error.