Skip to content
HostingSquad
To websitehostingsquad.nl
Search
EN

How do I send email from my WordPress website with Microsoft 365?

Updated on

You can have the email from your WordPress website sent in two ways, both with the Easy WP SMTP plugin: via an email address on your web hosting package, or via a Microsoft 365 mailbox. This way, completed contact forms and security notifications arrive more reliably. If you have WordPress Webhosting, we set this up for you free of charge: contact us (in Dutch).

Before you start

  • If your domain name does not use Microsoft 365, follow the steps under "Send via an email address on your web hosting package". If your domain name does use Microsoft 365, only the method under "Send via Microsoft 365" is possible: Microsoft 365 and email addresses on your web hosting package cannot be combined for one domain name; see Can I move some of my email addresses to Microsoft 365?
  • You are logged in to WordPress; see How do I log in to WordPress from DirectAdmin?
  • The names in WordPress are those of WordPress in English. If your WordPress is in Dutch, they are Plugins › Plugin toevoegen, Nu installeren, Activeren, Instellingen, Mailer, Andere SMTP, SMTP host, Encryptie, SMTP-poort, Auto TLS, Authenticatie, SMTP gebruikersnaam, SMTP-wachtwoord, Instellingen opslaan, Verzend een test and Test-e-mail verzenden.
  • DirectAdmin is in English by default, so the menus and buttons in this article are named as you see them on screen. If your DirectAdmin is set to Dutch, DirectAdmin may show the Dutch names, such as E-mail Beheer instead of E-mail Manager and Account aanmaken instead of Create Account. E-mail Accounts has the same name in both languages.
  • The names in the Microsoft 365 admin center are those from the Microsoft documentation. The admin center may show them in Dutch.

Install the plugin

  1. Open Plugins › Add Plugin

    In the menu on the left, click Plugins and then Add Plugin.

  2. Find the plugin

    Type Easy WP SMTP in the Search Plugins field.

  3. Install the plugin

    For Easy WP SMTP, click Install Now.

  4. Activate the plugin

    Click Activate.

Send via an email address on your web hosting package

We recommend this method if your domain name does not use Microsoft 365. You first create an email address in DirectAdmin for your website to send from. If your domain name uses the name servers that belong to your web hosting package, the SPF record is already correct in our DNS. If you use external name servers, update the SPF record at your DNS provider yourself; see How do I set up an SPF record?

  1. Log in to DirectAdmin

  2. Open the email accounts

    Under E-mail Manager, click E-mail Accounts.

  3. Click Create Account

    The Create Mail Account page opens.

  4. Create the email address

    At Username, enter the first part of the email address and at Password, a strong password. Keep the password, and click Create Account.

  5. Open Easy WP SMTP › Settings in WordPress

    Go back to WordPress and, in the menu on the left, click Easy WP SMTP and then Settings.

  6. Choose Other SMTP

    At Mailer, choose Other SMTP.

  7. Enter the server

    Enter these details:

    fieldvalue
    SMTP Hostmail.uwdomeinnaam.nl
    EncryptionSSL
    SMTP Port465
    Auto TLSleave on
    Authenticationleave on
  8. Enter the email address and password

    At SMTP Username, enter the email address you have just created, in lower case, and at SMTP Password, its password.

  9. Save the settings

    Click Save Settings.

Send via Microsoft 365

For this, you need the email address and password of a mailbox in Microsoft 365. Authenticated SMTP must be on for that mailbox; your Microsoft 365 administrator turns it on in the Microsoft 365 admin center, under Users › Active users › the user › Mail › Manage email apps. If you get Microsoft 365 from us, we manage your Microsoft 365 environment and you ask us to turn this on. If you get Microsoft 365 elsewhere, your organisation may have turned SMTP off; in that case, ask your Microsoft 365 administrator whether they can turn it on.

  1. Open Easy WP SMTP › Settings

    In the menu on the left, click Easy WP SMTP and then Settings.

  2. Choose Other SMTP

    At Mailer, choose Other SMTP.

  3. Enter the server

    Enter these details:

    fieldvalue
    SMTP Hostsmtp.office365.com
    EncryptionTLS
    SMTP Port587
    Auto TLSleave on
    Authenticationleave on
  4. Enter your email address and password

    At SMTP Username, enter the email address of the mailbox in lower case, info@uwdomeinnaam.nl, and at SMTP Password, its password.

  5. Save the settings

    Click Save Settings.

Any questions? Contact us (in Dutch).