WordPress Email SMTP: Setting up reliable email delivery (as of 2026)

SMTP settings for WordPress

Table of Contents

14 Minutes reading time

If WordPress emails aren't being delivered, it's almost always due to a missing... SMTP configurationThis article provides step-by-step instructions on how to set up email sending for your WordPress website to secure which SMTP plugin when it is suitable and which DNS entries you need to set so that your messages reliably end up in the inbox instead of the spam folder.

Key Findings

WordPress uses the PHP mail function by default to send emails – a method that will cause delivery problems on most servers in the DACH region by 2026. Here's a summary of the key points from this article:

  • SMTP instead of PHP Mail: Using SMTP significantly improves email delivery because it enables SMTP authentication of sent emails and reduces the likelihood of them being classified as spam.
  • WP Mail SMTP is the best SMTP plugin for WordPress. More than 3 million websites use WP Mail SMTP to reliably send emails. It enables sending via a real email delivery provider instead of the web server.
  • Correct SMTP settings are crucial: The SMTP host, SMTP port, TLS encryption, SMTP username, and SMTP password must exactly match the data match your email provider.
  • Email logging and DNS entries (SPF, DKIM, DMARC) form the foundation for traceable, spam-free email sending – especially for online shops, booking systems and contact forms.
  • LikeMeASAP supports businesses in the DACH region for glove setup, error analysis and optimization of the complete email infrastructure – as part of holistic WordPress web design and SEO projects.

Introduction: Why WordPress emails often don't arrive

Does this sound familiar? A customer fills out your contact form, but you don't receive a notification. A WooCommerce order confirmation ends up in the buyer's spam folder. Or the password reset email simply doesn't arrive. These problems occur daily with WordPress websites – and the cause is almost always the same.

WordPress uses the web server's PHP mail function by default for sending emails. However, many WordPress hosting providers don't configure their servers optimally for sending via PHP, leading to delivery problems. Hosting providers in Germany, Austria, and Switzerland—including IONOS, STRATO, all-inkl, and Hostpoint—particularly throttle or disable the PHP mail function on shared hosting accounts to prevent abuse. Emails can be intercepted by spam filters, resulting in them not being delivered or ending up in the spam folder. If emails aren't being received, it could also be because the web host is blocking emails.

This article will then show you step by step how to send emails via Setting up SMTP in WordPress, testing and monitoring – including concrete example configurations and tips for 2024–2026. LikeMeASAP, a WordPress and SEO agency, regularly handles SMTP configuration in web design and maintenance projects and shares insights from daily practice here.

Basics: How WordPress sends emails and why SMTP is better

Before making any changes, it's worth taking a quick look under the hood: How does WordPress generate emails, and why is SMTP the better alternative?

WordPress uses the PHP mail function by default to send emails. Internally, this function uses the PHPMailer library and delivers the mail to the local web server – without authentication, encryption, or a reliable sender. WordPress core, contact form plugins (Contact Form 7, WPForms), WooCommerce, and booking tools like Amelia or BooklyWP all rely on the same mechanism: the wp_mail() function.

SMTP (Simple Mail Transfer Protocol) works fundamentally differently: It establishes an authenticated SMTP connection to a dedicated SMTP server. SMTP includes the necessary authentication data in every message, thus ensuring successful delivery. The SMTP protocol can be used with third-party services, which significantly increases flexibility when sending emails. SMTP allows the use of various email providers, which improves the reliability of email delivery.

Aspect PHP mail() SMTP via plugin
Authentication None Username + password or OAuth2
Encryption Mostly none TLS/SSL Standard
Sender verification Limited, often server hostname Defined sender address, consistent envelope sender
Logging / Traceability Not available Email logging in the backend
Delivery rate Often below 85% (Mailgun Report) Significantly higher with correct configuration

Using an SMTP plugin can help resolve email delivery issues in WordPress. Configuring the SMTP settings is crucial for successful delivery. WP Mail SMTP allows you to send emails through a real email provider instead of the web server. By using SMTP, email sending is handled more efficiently, and the risk of being marked as spam is significantly reduced. SMTP can also help prevent email delivery problems caused by server misconfigurations. The plugin helps improve deliverability by utilizing a reputable SMTP provider.

SMTP settings for WordPress: What data you really need

The required SMTP data always comes from your respective email sending provider – be it your hosting mailbox, Microsoft 365, Google workspace or a specialized transactional email service. The SMTP settings depend on the email provider used.

You will need the following data for configuration:

  • SMTP host: e.g. E.g. smtp.ionos.de, mail.all-inkl.com, smtp.gmail.com
  • SMTP port: 465 (SSL/TLS) or 587 (STARTTLS)
  • Encryption: TLS or SSL
  • SMTP username: Mostly the complete Email address (e.g. info@your-domain.de)
  • SMTP password: The password for the email mailbox or an app password.
  • Authentication: Activated (almost always required)

An important note for the DACH region: IONOS will have, starting from A regulation was introduced on January 29, 2024.This means the sender address must exactly match the domain of the authenticated mailbox. Attempts with a different domain will be rejected. Similar requirements exist with other hosting providers – for example, Domainfactory uses the SMTP host sslout.df.eu for SSL sending.

For Google Workspace and Microsoft 365 often require OAuth2 or an app password once two-factor authentication is enabled. Not every SMTP plugin supports OAuth2, so you should check this before choosing a plugin. Gmail also uses specific ports and hostnames.

Setting up WordPress SMTP with a plugin (WP Mail SMTP & Easy WP SMTP)

Most users configure WordPress SMTP via a plugin. Below, we demonstrate the settings using two popular solutions – with concrete steps that can be completed in just a few minutes, even without programming knowledge. LikeMeASAP integrates a standard SMTP plugin with sensible configuration and test logging for new WordPress websites.

Step 1: Install and activate the SMTP plugin in WordPress

Navigate in your WordPress backend zu Plugins > InstallTo configure SMTP in WordPress, the WP Mail SMTP plugin must be installed.

  • WP Mail SMTP: Search for "WP Mail SMTP by WPForms" in the search field. Click the "Install Now" button and then "Activate". More than 3 million websites use WP Mail SMTP to reliably send emails – a strong sign of trust. WP Mail SMTP offers a setup wizard that greatly simplifies the configuration of email settings.
  • Easy WP SMTP: Alternatively, search for "Easy WP SMTP" and install this plugin. Easy WP SMTP is a very simple and reliable plugin for configuring custom SMTP servers. It is particularly suitable for traditional email accounts with hosting providers such as IONOS, STRATO, all-inkl, or Hostpoint.

After installation, a new menu item appears in the dashboard – for example “WP Mail SMTP” or “Easy WP SMTP” – through which all SMTP settings are managed.

Tip: Test the installation in a staging environment before migrating live emails. LikeMeASAP provides dedicated test environments for customer projects.

Step 2: Configure sender email and mailer options

After installing WP Mail SMTP, you need to WP Mail SMTP → Settings Navigate to configure the SMTP settings. WP Mail SMTP configures the WordPress email function to use SMTP instead of PHP Mail.

First, enter a valid sender address that actually exists as an email mailbox, for example, info@your-domain.de. The sender's name (e.g., "Sample Company GmbH - Online Shop") will be displayed in every email and should be clearly and trustworthy-sounding.

SMTP configuration in WordPress can be done by selecting a mailer in the WP Mail SMTP plugin. The following mailers are typically available:

  • Other SMTP – for your own hosted mailboxes (recommended for most companies)
  • sendLayer – a recommended email sending provider for WP Mail SMTP
  • short (formerly Sendinblue) – another recommended transactional email provider
  • SMTP.com – a reliable transactional email service
  • Microsoft 365 / Gmail – with OAuth2 support

Activate the "Force sender email" option so that all emails from WordPress—including those from plugins and WooCommerce—are sent from the same verified email address. LikeMeASAP will advise you, based on your email volume and marketing strategy, whether your hosting provider's own SMTP server is sufficient or whether an external service would be more suitable.

Step 3: Enter SMTP data in the plugin

In the "Other SMTP" section or the plugin's SMTP settings, enter the specific access data. To send emails via SMTP, the SMTP access data must be entered.

Example configuration for an IONOS mailbox:

Feld Value
SMTP host smtp.ionos.de
SMTP port 465
Encryption SSL / TLS
SMTP authentication enabled
SMTP username info@your-domain.de
SMTP password Email account password

Most SMTP plugins support the secure port 465 (SMTPS) for sending emails. For Easy WP SMTP, select "Other SMTP" as the type and enter the SMTP host, SMTP port, email address, and password exactly as provided by your internet service provider.

Safety advice: Avoid permanently storing passwords in plain text in the backend. Better mechanisms include storing them in wp-config.php using constants or using application passwords.

The SMTP settings must be saved after they have been entered. Click on "Save settings", and the plugin will now attempt to send all WordPress emails via this server.

Step 4: Send a test email and fix any errors

After configuring the SMTP settings, a test email should be sent to verify functionality. To test the SMTP configuration in WordPress, go to WP Mail SMTP and use the email test function in the corresponding menu.

When sending a test email, you should use a different email address (for example, a private one). GMX mailbox or Gmail) to ensure the email is delivered correctly. When testing your email, pay attention to:

  • Delivery to inbox instead of in the spam folder
  • Header-Information: Sender domain, SPF check, DKIM signature
  • presentation of content and sender name

If the test email doesn't arrive, check your SMTP configuration settings for accuracy. Typical error messages and their causes:

  • Authentication error: Incorrect SMTP password – if necessary, set a new password in your email mailbox.
  • “Could not connect to SMTP host”: Incorrect SMTP host or SMTP port
  • Timeout: Incorrect encryption setting (SSL instead of TLS or vice versa)

If you receive an error message when sending the test email, this may be due to incorrect SMTP access data. Check the data using your email provider's documentation. LikeMeASAP evaluates this as part of maintenance and SEO packages Log files and email logs are analyzed to quickly identify problems with sending emails.

Advanced features: Email logging, reports and notifications

For larger websites, online shops and Portals Simply setting up SMTP is often insufficient. Email logging, email reports, and automatic email notifications become indispensable tools.

WP Mail SMTP Pro – the pro version of the plugin – offers advanced features such as email logging and notifications directly within the WordPress dashboard. The email logging feature can help you review sent emails and diagnose delivery problems. For each outgoing email, you'll see the status (sent, failed), recipient addresses, subject, and timestamp.

WP Mail SMTP also allows the configuration of multiple SMTP connections for sending emails. This makes it possible, for example, to set up intelligent routing: transactional emails (orders, password resets) are sent via the hosting provider's SMTP server, while newsletters are sent via a specialized service.

As an alternative, free tool, Fluent SMTP is a good option – a very lightweight and performant SMTP plugin that already includes multi-provider routing and full logging in the free version.

Regular email reports (e.g., weekly summaries) and notifications via Slack or email help to identify delivery problems early. For more complex projects—such as membership sites or SaaS portals—LikeMeASAP integrates routing and monitoring as a core component of the website architecture.

DNS, SPF, DKIM & DMARC: How to ensure the deliverability of your WordPress emails

Despite correct SMTP settings, emails can still end up in spam if the DNS entries for email authentication are missing or incorrect.

DNS settings, including DMARC, DKIM, and SPF, are important to ensure that emails don't end up in spam folders. In short:

  • SPF (Sender Policy Framework): Specifies which servers are allowed to send emails on behalf of your domain. An SPF record can be added to prevent emails from ending up in the spam folder.
  • DKIM (DomainKeys Identified Mail): Signs the content of each email so that recipients can recognize that it comes from the authorized server.
  • DMARC: The policy defines what should happen in case of SPF/DKIM failures (none, quarantine, reject).

These entries are set at the domain registrar or hosting provider. The values ​​are specified by your respective email provider.

Concrete example for an SPF record of a .de domain that sends emails via the hoster and Brevo:

v=spf1 include:_spf.ionos.de include:sendinblue.com ~all

Attention: Too many include entries can lead to SPF overflows (maximum 10 DNS lookups). Only activate stricter DMARC policies (quarantine or reject) after a testing phase of several weeks with the policy set to "none".

After setup, check your DNS records with tools like MXToolbox or DMARC Analyzer. DNS settings, including DMARC, DKIM, and SPF, are important to prevent emails from ending up in spam folders.

Typical errors when sending emails in WordPress and how LikeMeASAP helps

Many companies only realize that their WordPress emails aren't working when customers complain or orders stop coming in. Emails can suddenly become undeliverable if the server is blacklisted.

Common practice errors that we identify in LikeMeASAP audits:

  • Incorrect sender address: The domain of the From address does not match the email mailbox – especially since the IONOS rule change in 2024.
  • Mixed shipping methods: Some plugins use PHP Mail, others SMTP – resulting in inconsistent headers and SPF errors.
  • Disabled PHP mail function: The hosting provider has disabled the function, but no SMTP plugin is installed.
  • Outdated SMTP data: Provider changes for 2024/2025 were not implemented.
  • Missing DNS entries: SPF or DKIM never set up

In practice, it turns out that a small WooCommerce shop for regional products in Germany was able to reduce support requests due to missing order confirmations by over 70% by switching to SMTP with correct domain matching and clean DKIM/SPF entries.

LikeMeASAP's audits and ongoing website maintenance not only examine SEO topics such as on-page optimization, loading times, and backlinks, but also email marketing, restructuring it as needed. A professional email infrastructure has positive side effects: reliable order confirmations, reduced support effort, and more. better user experience – Factors that also apply to local SEOProjects and online-Shops that strengthen customer satisfaction.

Ready for reliable WordPress emails? Book a free initial consultation with LikeMeASAP to holistically plan SMTP setup, WordPress web design, backlinks and search engine optimization.

FAQ about WordPress Email SMTP (2026)

The following questions address topics that were only touched upon in the main text – focusing on specific practical problems and recommendations for action. See also the further reading. Tutorials and your hosting provider's resources.

How can I send emails from WordPress via SMTP without using a plugin?

Technically, it's possible to set this up via wp-config.php and functions.php by redirecting WordPress's PHPMailer functions to an SMTP server using code. However, the disadvantages outweigh the advantages in most cases: lack of update security, high maintenance effort, increased susceptibility to errors, and no email logging in the backend.

This solution is only recommended in highly controlled environments or where specific security requirements exist. For most websites, an established SMTP plugin like WP Mail SMTP or Easy WP SMTP is more practical. LikeMeASAP only recommends custom code solutions when they are embedded in a comprehensive maintenance and deployment strategy.

What difference does it make whether I use my hosting provider or an external email service provider?

Hosted mailboxes are designed for moderate volumes (e.g., up to a few thousand emails per month). Dedicated email delivery providers like Brevo, SendLayer, or Amazon SES offer higher capacities, more detailed email reports, and often their own API key for direct integration. Amazon SES is extremely affordable while offering very high capacity.

External providers also supply email logs with open and click-through rates, enabling better deliverability for large campaigns. For purely transactional emails from smaller websites (contact forms, orders, password resets), the hosting provider's mailbox is often sufficient. However, for growing marketing or newsletter needs, a specialized service is the better choice. LikeMeASAP assists in selecting and integrating the right email service provider into existing WordPress installations.

How many emails am I allowed to send per day via my WordPress SMTP settings?

Your email provider sets the limits. Google Workspace allows approximately 2.000–10.000 emails per day, depending on the plan; hosting packages often limit it to a few hundred. Transaction services scale according to your chosen plan. Exceeding these limits can lead to blocked accounts or temporary suspensions.

Estimate your volume realistically in relation to Website traffic and transaction volume, and plan an upgrade of your email plan if necessary. LikeMeASAP takes email volume into account for larger shops and portals as part of SEO and performance analyses.

Are the contents of my emails stored in the email logs, and is this GDPR-compliant?

Many email protocols save metadata by default (time, recipient, subject, status) and optionally also content or attachments. For sensitive data – such as health information or financial data – you should disable or significantly minimize the logging of email content.

GDPR compliance requires a data deletion policy (e.g., automatic deletion of old email logs after 30–90 days) and, for external services, a data processing agreement. LikeMeASAP helps customers reconcile SMTP logging with data protection requirements.

Can LikeMeASAP handle the complete SMTP and email setup in my WordPress project?

Yes. LikeMeASAP regularly handles the complete email configuration as part of WordPress web design, relaunches, or SEO maintenance contracts: analysis of the current infrastructure, selection of the appropriate SMTP plugin, setup of email logging, and coordination with the email service provider.

Interested parties can register directly via the LikeMeASAP website for a free initial consultation. Reliable email delivery is one component of their holistic approach – alongside SEO, backlinks, Content and performance optimization.

Facebook
Twitter
LinkedIn
Pinterest
WhatsApp
About the author
Image by Markus Lüdemann
Markus Lüdemann

Markus Lüdemann is the founder and CEO of LikeMeASAP, an internationally operating SEO and web design agency. Since its founding over 14 years ago, he has established himself as a leading expert in search engine optimization, strategic online marketing, and professional web design. His focus is on developing sustainable, Google-compliant SEO strategies and building strong backlink profiles that help clients achieve top rankings in the long term.

As an experienced web designer, he combines technical precision with aesthetic sensibilities to create websites that are not only visually appealing but also achieve optimal conversion rates. Under his leadership, LikeMeASAP has successfully completed thousands of projects and proven itself as a reliable partner for the digital visibility of companies of all sizes.