What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
To make WordPress mail dependable with Mailgun, first verify a dedicated sending domain in Mailgun, then connect the official Mailgun WordPress plugin through either the HTTP API or SMTP. Publish the SPF and DKIM records Mailgun provides, select the correct US or Europe region, use a From address on the verified domain, and test every important WordPress mail path—not just one sample message.
Antihost offers managed WordPress hosting with free migration, one-click staging and a 14-day free trial.
What you need before configuring WordPress
Mailgun cannot send from an unverified domain. Prepare these items before opening WordPress:
As an Amazon Associate I earn from qualifying purchases.
- A Mailgun account with a sending domain you control. A subdomain dedicated to application mail, such as
mg.example.com, keeps transactional messages separate from normal business mail. - Access to the DNS provider that hosts the domain’s zone. You must be able to publish the SPF and DKIM records shown in Mailgun’s domain panel.
- An administrator account for the WordPress site.
- The Mailgun API key if you plan to use HTTP API delivery, or a domain-level SMTP username and password if you plan to use SMTP.
- The Mailgun region in which the domain is configured: US or Europe.
Mailgun’s official WordPress integration supports both HTTP API sending and SMTP. The right choice depends mainly on which outbound traffic your host permits and whether your WordPress mailer is designed around SMTP credentials.
Verify the Mailgun sending domain first
Domain verification is the prerequisite that is most often skipped. The plugin can be installed before verification, but Mailgun’s domain must pass its DNS checks before it is ready to send.
#1 Best Overall
- BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
- EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
- COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
- LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
- WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.
1. Choose the domain or subdomain
Use a domain that you control and that will appear in the From address used by WordPress. A dedicated subdomain is often easier to isolate operational mail from other mail systems. Whichever name you choose, enter that exact name in Mailgun and later in the WordPress plugin.
2. Copy the DNS records from Mailgun
Open the domain’s setup or verification view in Mailgun and copy the SPF and DKIM values exactly as displayed. Add them at your DNS host with the record types, host names, and values Mailgun specifies. Do not replace a value with a similar-looking record from another domain, remove quotation marks that your DNS provider requires, or alter a long DKIM key while copying it.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →If the domain already has an SPF record, merge the Mailgun authorization into the existing SPF policy rather than publishing multiple SPF records for the same domain. Multiple SPF records can cause a permanent SPF error. Your DNS provider’s interface may automatically append the domain to a host field, so compare the resulting fully qualified name with the name shown in Mailgun.
3. Wait for DNS propagation
DNS changes are not visible everywhere at the same time. Wait for the records to propagate, then return to Mailgun’s domain panel and run its verification check. A check that fails immediately after saving DNS does not necessarily mean the values are wrong; it may simply be reading a cached answer.
4. Confirm every check passes
Do not continue to production sending while SPF or DKIM remains unverified. Correct the record name or value, save the DNS change, wait again, and trigger verification again. Keep a copy of the final records in your deployment notes so a future DNS migration does not silently remove them.
Install and open the official WordPress integration
Install the plugin
- Sign in to WordPress with an administrator account.
- Open Plugins → Add New.
- Search for the official Mailgun WordPress plugin, install it, and select Activate.
- Open Settings → Mailgun. The plugin’s settings screen is where you select the transport, region, domain, and test configuration.
If the plugin is already installed, update it before troubleshooting. Record the current version and back up the existing mail settings so you can restore a known-good configuration if a change has an unexpected effect.
Rank #2
- WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
- AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
- PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
- ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
- COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
Enter the shared settings
In Settings → Mailgun, choose the Mailgun region, enter the verified sending domain, and select either HTTP API or SMTP. Region selection is not cosmetic: the integration exposes separate US and Europe endpoints, so choose the region in which your Mailgun domain is configured.
The fields shown after you choose a transport differ. API mode asks for an API key and domain. SMTP mode asks for the SMTP host, port, security option, username, and password. Save the settings before using the plugin’s test configuration control.
HTTP API or SMTP: choose deliberately
| Decision point | HTTP API | SMTP |
|---|---|---|
| Network path | Outbound HTTPS from the web server | Outbound SMTP connection from the web server |
| Credentials | Mailgun API key plus the sending domain | Domain-level SMTP username and password |
| Plugin support | Supported by the official WordPress plugin | Supported by the official WordPress plugin |
| Typical reason to choose it | Your host permits HTTPS but blocks or restricts SMTP ports | Your mailer, host, or existing workflow expects SMTP credentials |
| Encryption options | HTTPS | Port 465 uses TLS; ports 25, 587, and 2525 can upgrade with STARTTLS |
| Regional setting | US or Europe, selected in the plugin | US or Europe, selected in the plugin |
HTTP API avoids the SMTP-port restrictions imposed by some hosting companies. SMTP is useful when a WordPress mailer specifically requires an SMTP server and credentials. Neither transport bypasses domain verification: SPF and DKIM still need to pass.
Configure WordPress to use Mailgun’s HTTP API
1. Select API mode and region
In Settings → Mailgun, select the HTTP API option and the US or Europe region that matches your Mailgun setup. Enter the verified sending domain exactly, including any subdomain prefix.
2. Add the API key
Paste the Mailgun API key into the plugin’s API-key field. Treat the key as a secret: do not place it in a public support ticket, commit it to a theme repository, or include it in a screenshot. If the site is managed through deployment configuration, inject the value through the site’s protected configuration process rather than hard-coding it in a publicly readable template.
3. Save and run the test configuration
Save the settings and use the plugin’s test configuration control. A successful test confirms that WordPress can reach the selected Mailgun API endpoint and that the key and domain are accepted. It does not prove that every form, reset flow, or notification uses the same mail path, so perform the application-level tests described below.
Rank #3
- Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
- Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
- Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
- ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
- Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
4. If the API test cannot connect
Check whether the web server permits outbound HTTPS requests. Managed hosting may restrict outgoing connections, require a firewall rule, or use a security module that blocks remote requests from PHP. Ask the host to confirm outbound HTTPS access from the WordPress server, then rerun the plugin test after the restriction is removed.
Configure WordPress to use Mailgun SMTP
1. Create credentials for the domain
Find the credentials in Mailgun under Sending → Domain Settings → SMTP Credentials. Create or select credentials that belong to the same sending domain entered in WordPress.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errorsDo not assume that a domain created through the Domains API already has an SMTP login. Mailgun announced on May 9, 2025, that SMTP credentials are no longer generated automatically by the Domains API. Create them through Mailgun’s Credentials endpoint or the Mailgun user interface before testing SMTP.
2. Enter the server and security settings
Use smtp.mailgun.org as the SMTP host. Port 587 with secure SMTP enabled and STARTTLS is the normal starting point. Mailgun lists four ports:
| Port | Encryption behavior | When to use it |
|---|---|---|
| 587 | STARTTLS upgrade | Recommended default; Mailgun notes that some ISPs block or throttle other SMTP ports |
| 465 | TLS from connection start | Use when the host or mailer specifically requires implicit TLS |
| 25 | STARTTLS upgrade | Only when the host permits it; it is commonly filtered or throttled |
| 2525 | STARTTLS upgrade | Fallback when the standard SMTP ports are unavailable and the host permits it |
Mailgun explicitly recommends port 587 because some ISPs block or throttle certain SMTP ports. Select the plugin’s secure/STARTTLS option for port 587. Do not select an implicit-TLS mode intended for port 465 while connecting to 587.
3. Enter the username and password
Paste the SMTP username and password created for the selected domain. These are not interchangeable with the Mailgun API key. A credential from a different domain can authenticate unsuccessfully or send with a sender identity that does not match the WordPress configuration.
Rank #4
- Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
- Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
- 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
- Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
- USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
4. Save and test
Save the settings and run the plugin’s test configuration control. If the connection times out, ask the host whether outbound traffic on port 587 is allowed. If 587 is blocked, test 2525 or 465 according to the host’s policy and the matching encryption mode. Avoid falling back to port 25 merely because it is familiar; it is frequently restricted.
Set a consistent WordPress sender identity
Set the WordPress From address to an address on the verified Mailgun sending domain. For example, if the verified domain is mg.example.com, use an address such as [email protected] rather than an unrelated consumer mailbox.
Keep the sender identity consistent across contact forms, password resets, administrator notifications, ecommerce extensions, and scheduled jobs. A plugin can override the global From header or use its own mail library. A test from the Mailgun settings page may therefore succeed while a form still fails or uses a different address. Configure each extension’s sender fields where available, and make sure its From domain is one Mailgun has verified.
Do not confuse the From address with the Reply-To address. The From identity should remain on the verified sending domain; a form can use a visitor’s address as Reply-To when the form plugin supports that safely. Putting an unverified visitor address in From can trigger authentication problems and makes abuse handling harder.
Recommended Free Tools
Test delivery in layers
Test the transport from the plugin
Run the built-in test after saving API or SMTP settings. Record the exact error text, selected region, domain, transport, and port. Those details distinguish an authentication failure from a network block.
Check Mailgun events and logs
Look in Mailgun’s events or logs for the test message. An accepted or delivered event shows that Mailgun received the request; a rejected, failed, or bounced event supplies the next clue. Compare the event’s sender domain and recipient with the values you entered in WordPress.
Best Value
- Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
- Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
- Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
- Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
- Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
Inspect the recipient mailbox
Check the inbox, spam folder, and any organization-wide quarantine. A Mailgun event can show acceptance while a recipient system later filters the message. Examine the message’s authentication results and headers when your mail client exposes them.
Exercise real WordPress paths
- Submit a production-like contact or registration form.
- Use the WordPress password-reset flow for a test account.
- Trigger an administrator notification, such as a new-user or comment alert.
- Confirm that each message appears in Mailgun events and reaches the intended mailbox.
Run these tests with both a normal user account and an administrator account if your plugins use different notification rules. Keep the test addresses separate from real customers so a failed configuration cannot expose private data.
Free tools Windows power users keep installed
One-click scans. No signup required.
Troubleshoot failures by symptom
| Symptom | Likely cause | Action |
|---|---|---|
| Domain remains unverified | SPF or DKIM name/value is wrong, DNS has not propagated, or the wrong region/domain is being checked | Copy the records again from Mailgun, compare the fully qualified DNS names, wait for propagation, and trigger verification again |
| HTTP API test cannot connect | Outbound HTTPS is blocked by the web host or firewall | Have the host permit outbound HTTPS from the WordPress server, then rerun the test |
| HTTP API returns an authentication error | Wrong API key, domain, or region | Re-enter the key, confirm the exact verified domain, and select the region where that domain exists |
| SMTP says authentication failed | Username/password belongs to another domain, credentials were never created, or a value was copied incorrectly | Create credentials under Sending → Domain Settings → SMTP Credentials for the selected domain and paste them again |
| SMTP connection times out | Hosting provider blocks the chosen outbound port | Start with port 587 and secure STARTTLS; ask the host about 587, 465, and 2525, then use a permitted port with its matching encryption mode |
| Plugin test passes but a form fails | The form or extension overrides the From address or uses a separate mailer | Inspect that plugin’s mail settings, align its From domain, and send a real form test while watching Mailgun events |
| Message is accepted but not visible | Recipient spam filtering, quarantine, or a later bounce | Check the recipient’s spam/quarantine system and correlate the recipient and event status in Mailgun |
Enable detailed SMTP diagnostics
When the plugin’s SMTP path needs more detail, enable WordPress debugging and the plugin’s MG_DEBUG_SMTP constant in the site’s protected configuration, following the plugin’s documented placement and syntax. Reproduce one failure, review the resulting log for the connection stage that failed, and disable verbose logging afterward so credentials and message data are not retained unnecessarily.
Protect credentials and keep the configuration maintainable
- Limit WordPress administrator access because the Mailgun settings screen contains credentials that can send mail.
- Store API keys and SMTP passwords in protected configuration or a secret-management system where possible, not in a theme file that is distributed with the site.
- When rotating a credential, create the replacement first, update WordPress, run all transport and application tests, then revoke the old credential.
- Document the verified domain, region, transport, SMTP port, and the DNS records’ owner. This makes DNS or hosting migrations less likely to break delivery.
- Review Mailgun events after plugin, hosting, DNS, or form-plugin updates. A successful historical test does not prove that a later extension still uses the same mail path.
Understand the testing allowance and what it does not prove
The Mailgun WordPress plugin repository describes a free-account allowance of up to 200 emails per day for testing in its 2025 README. Treat that number as a plan detail that can change; confirm the allowance in the account’s current terms before using it for a production workload.
That allowance is not a deliverability guarantee. Authoritative Mailgun integration material does not establish a universal inbox-placement percentage for WordPress sites. Delivery still depends on correct domain authentication, recipient filtering, message content, sender consistency, and the reputation of the sending domain.
Quick Recap
Final preflight checklist
- The exact sending domain in WordPress is verified in the Mailgun region you selected.
- Mailgun’s SPF and DKIM records are published exactly as displayed and pass verification.
- The transport matches the host: HTTP API for permitted outbound HTTPS, or SMTP with credentials and an allowed port.
- SMTP uses
smtp.mailgun.org; port 587 with STARTTLS is the normal first choice. - The SMTP username and password were created for the same sending domain, rather than assumed to exist after a Domains API operation.
- The From address belongs to the verified domain and is consistent across forms, resets, and notifications.
- The plugin test, a form submission, a password reset, and an administrator notification appear in Mailgun events and reach test mailboxes.
- Verbose SMTP diagnostics are disabled after troubleshooting, and credentials are stored securely.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

