Skip to content
    Guide

    Sending site email reliably with the Email tool

    Last updated

    WordPress sends email for contact forms, password resets, new user accounts and shop orders. By default it uses the web server’s own mail, which many email providers treat with suspicion, so messages often land in spam or vanish.

    The Email module sends every email the site sends through Postmark, a service built for delivering this kind of email. It works with WordPress itself, WooCommerce, Site Tools Forms and any other plugin that sends email the normal WordPress way, with no extra set-up per plugin. You also get a sending log, bounce handling and a test button.

    Setting up Email

    1. Open the site page in MaintainHQ and choose Communication, then Email. Press "Install and switch on Email" (or "Switch on Email").
    2. On the Setup tab, enter a From address, for example hello@clientsite.com, and a From name, then press "Set up email".
    3. MaintainHQ sets up sending for this site and sends the site its sending details through the connector.
    4. Open the Domain tab and add the DNS records it shows (see the next section).

    Mail goes out through Postmark once the domain of the From address is verified. Until then, the site keeps sending the normal way, so nothing stops working while you wait.

    If the Setup tab says the site has not received its sending details yet, press the button to send them again.

    Verifying your domain

    DNS records are entries at the company that runs the domain’s DNS (often where the domain was bought). They prove to email providers that you are allowed to send email from that domain. The Domain tab shows "(action needed)" until they are found.

    The two records
    RecordWhy it matters
    DKIM (required)Proves the email really comes from this domain. Email is sent through Postmark only once this record is found.
    Return-Path (recommended)Lets bounces come back to Postmark and lines the domain up for DMARC, a standard that protects a domain from being faked. Email still sends without it, but is more likely to land in spam.
    1. Under "Where is the DNS for ...?", choose your DNS provider for step-by-step instructions, or Other.
    2. Use the copy buttons to copy each record’s Type, Name and Value. Most providers want the short name, which the tab shows separately from the full one.
    3. Add the records at your DNS provider and save. Do not delete any records already there.
    4. Back in MaintainHQ, press "Check again", or wait: MaintainHQ rechecks every two minutes for a while when a record is missing.

    Each record shows Found or Not found yet, and when it was last checked. DNS changes usually show within an hour, but can take up to 48 hours.

    Sending rules

    The Setup tab also has four sending rules, each with a switch:

    Sending rules
    RuleWhat it does
    Always send from the address aboveEvery email uses your From address. When a form visitor sends a message, their address becomes the reply-to address, so pressing Reply still reaches them.
    Reply to the original senderSets the reply-to address to whoever originally sent the message, for example a visitor who filled in a form.
    If Postmark refuses a message, send it the normal WordPress way insteadA safety net for an unverified sender, a bad token, an outage or a timeout. The log says why it happened.
    Track opens of HTML emailsRecords when formatted emails are opened.

    The log, bounces and Postmark activity

    The Log tab lists every email the site sent with When (UTC), To, Subject, Status and Detail. Filter by All, Sent, Sent the normal way, Failed, Bounced or Suppressed. Test emails are marked Test. Message bodies are never kept, and entries are removed daily once they are older than the site’s log setting (30 days by default). Press "Clear the log" to empty it.

    Under Bounces you see addresses that bounced, with the type and detail. Press "Reactivate" to allow sending to a suppressed address again.

    The Postmark activity tab reads the site’s messages straight from Postmark. Search by recipient, From date and To date, filter by status, and press Open to see a message’s delivery events. The message itself is not shown. Postmark keeps messages for 45 days.

    Sending a test

    Open the "Send a test" tab, enter an address in "Send a test to" and press "Send test". MaintainHQ shows the address it was sent from and to, and Postmark’s message id. If something is wrong, you see Postmark’s own answer, which usually names the problem.

    In WordPress, the same tools are under Settings, Email: connection, sending rules, test, log and bounces.

    Other email plugins

    If an SMTP plugin is active (WP Mail SMTP, Post SMTP, FluentSMTP, Easy WP SMTP, SMTP Mailer or Postmark for WordPress), MaintainHQ offers to read its sending address and name, use them here if none is set yet, and switch the plugin off. An address already set in Site Tools is kept.

    WordPress also warns you if another plugin has replaced its email function, because then the Email module cannot do its job.

    Forms built with Site Tools Forms can choose, form by form, whether their emails go through MaintainHQ Email or the site’s own WordPress mail.

    Usage, stopping and switching off

    Usage on the Setup tab shows Sent, Bounced and Spam complaints per month. Press Update to refresh it.

    "Stop managed sending" makes the site forget its sending details and go back to sending the normal way, and deletes its Postmark server.

    "Switch Email off" sends email the normal WordPress way and keeps the log. Removing the data, after typing REMOVE, deletes the log and the site’s sending details.

    Frequently asked questions

    Do I need a Postmark account?
    No. MaintainHQ sets up sending for the site for you. If you already have Postmark, you can paste your own server token in WordPress instead.
    Why is email still going out the normal way?
    Email goes through Postmark only once the DKIM record on the Domain tab is found. Until then, the site sends the normal way so nothing is lost.
    Can I read the emails the site sent?
    No. The log and Postmark activity show who, when, the subject and delivery events, but message bodies are never kept or shown.
    Does Email work with WooCommerce and other plugins?
    Yes. Any plugin that sends email the normal WordPress way goes through it with no extra set-up.

    Let MaintainHQ run the routine

    Updates with automatic rollback, backups, uptime, security checks and client reports, with Gus to fix what breaks.

    Start free trial

    From £29 a month for up to 2 sites. Every plan starts with a 14-day trial.