Mailgun for WordPress
Easily send email from your WordPress site through Mailgun using the HTTP API or SMTP.
Safe pick
Yes — Mailgun for WordPress is a safe, well-maintained plugin to use in 2026. It runs on 70K+ sites, is rated 3.8/5 and was last updated 2 months ago, and scores 81/100 on our health check.
- Proven at scale on 70K+ active sites
- Tested with the latest WordPress (7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Mailgun for WordPress stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| api | >100 |
| http | #25 |
| #31 | |
| mailgun | #2 |
| smtp | #55 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 3.8 from 49 reviews
About Mailgun for WordPress
From the official readme · v2.2.3Description
Security notice: versions 2.2.0 and earlier contain fixed vulnerabilities (unauthenticated arbitrary list subscription, weak SHA-1/MD5 hashing). We strongly recommend updating to the latest version immediately.
Mailgun is the email automation engine trusted by over 10,000 website and application developers for sending, receiving and tracking emails. By taking advantage of Mailgun’s powerful email APIs, developers can spend more time building awesome websites and less time fighting with email servers. Mailgun supports all of the most popular languages including PHP, Ruby, Python, C# and Java.
One particularly useful feature of this plugin is that it provides you with a way to send email when the server you are on does not support SMTP or where outbound SMTP is restricted since the plug-in uses the Mailgun HTTP API for sending email by default. All you need to use the plugin is a Mailgun account. Mailgun has a free account that lets you send up to 200 emails per day, which is great for testing. Paid subscriptions are available for increased limits.
The latest version of this plugin now supports regions. Select either U.S./North America or Europe to choose the API endpoint from which you will send email.
The current version of this plugin only handles sending emails, tracking and tagging and list subscription.
Installation
- Upload the
mailgunfolder to the/wp-content/plugins/directory or install directly through the plugin installer - Activate the plugin through the ‘Plugins’ menu in WordPress or by using the link provided by the plugin installer
- Visit the settings page in the Admin at
Settings -> Mailgunand configure the plugin with your account details - Click the Test Configuration button to verify that your settings are correct.
- Click View Available Lists to review shortcode settings for lists in your Mailgun account that you may wish to help users subscribe to
Changelog
Security: versions 2.2.0 and earlier are vulnerable to unauthenticated arbitrary list subscription (fixed in 2.2.1) and use weak SHA-1/MD5 hashing (fixed in 2.2.2). If you are running 2.2.0 or older, update immediately.
2.2.3 (2026-08-31):
- Tested and confirmed compatible with WordPress 7.1
- Fix: settings page “Test Configuration” button now works on modern WordPress – replaced the jQuery AJAX handlers removed in jQuery 3.0 (
complete/success/error) withalways/done/fail - Fix: load the plugin text domain on the
inithook to avoid the “translation loading triggered too early” notice in WordPress 6.7+
2.2.2 (2026-07-17):
- Security fix: replace insecure SHA-1/MD5 hash functions with SHA-256 for the API request hash, multipart boundary generation, and widget ID generation
2.2.1 (2026-07-09):
- Security fix: add nonce verification and server-side list address validation to the
add_listAJAX action to prevent unauthenticated arbitrary list subscription (reported by Pedro Pinho)
2.2.0 (2026-06-30):
- Fix: use only the domain part (not the full URL) when building the Mailgun API request
- Fix: remove automatic
key-prefix from API key handling; stored keys that included it may need updating - Fix: add explicit nullable type hints for PHP 8.4 compatibility
- Fix: correct swapped click/open tracking labels in the settings summary
- Tested and confirmed compatible with WordPress 7.0
2.1.9 (2025-06-24):
- Added fallback option. Merge PR for widget
2.1.8 (2025-05-11):
- Just keep update WP version. And tested compatibility with it
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Mailgun for WordPress alternatives
All api plugins →FAQ
Mailgun for WordPress: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Nov 17, 2026
Is Mailgun for WordPress free?
Yes. Mailgun for WordPress is free to download and use from the official WordPress.org plugin directory.
Is Mailgun for WordPress safe to use in 2026?
Yes — Mailgun for WordPress is a safe, well-maintained plugin to use in 2026. It runs on 70K+ sites, is rated 3.8/5 and was last updated 2 months ago, and scores 81/100 on our health check.
How many websites use Mailgun for WordPress?
Mailgun for WordPress is active on 70K+ WordPress websites and has been downloaded 2,953,550 times since it launched in November 2012. It was downloaded 23,813 times in the last 30 days.
Does Mailgun for WordPress work with WordPress 7.1?
Yes. The developer has tested Mailgun for WordPress up to WordPress 7.1.4, the latest release. It requires WordPress 5.6 or newer.
What PHP version does Mailgun for WordPress need?
Mailgun for WordPress requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Mailgun for WordPress last updated?
The latest version, 2.2.3, was released on September 25, 2026 (2 months ago).
Who makes Mailgun for WordPress?
Mailgun for WordPress is developed and maintained by Mailgun.
What are the best alternatives to Mailgun for WordPress?
The most popular alternatives to Mailgun for WordPress are WP Consent API (300K+ installs), Disable REST API (80K+ installs) and Make Connector (70K+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card

