Email Override for Mailgun

Description

This plugin overrides the default WordPress email sending function with MailGuns’s Mail Send API.

Key Features:

  • Toggle Email Override for Mailgun on/off
  • Enter your Mailgun API key and domain
  • Customize the “From” email and name
  • Send a test email directly from the settings page
  • Clean and native WordPress admin UI

External Services

This plugin integrates with the Mailgun email delivery service to send outgoing emails via its API instead of the default wp_mail() function.

When enabled, the plugin communicates with the following Mailgun API endpoint: https://api.mailgun.net/v3/YOUR_DOMAIN/messages

Data sent to Mailgun includes:
– Sender name and email
– Recipient email(s)
– Email subject
– Message body (text or HTML)
– Optional headers (Cc, Bcc)

The plugin requires a valid Mailgun API key and domain to function. These credentials are stored in your WordPress database and used only to authenticate API requests to Mailgun.

Privacy Notice:
By using this plugin, you agree to Mailgun’s Terms of Service and Privacy Policy. Ensure your use of Mailgun complies with local privacy laws and your own data protection policies.

Screenshots

  • Settings panel with Mailgun API key and sender inputs

Installation

  1. Upload the plugin files to the /wp-content/plugins/mailgun-email-override/ directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Go to Settings > Mailgun Email.
  4. Enter your Mailgun API key and domain, set the sender info, and enable the override.

FAQ

What if I disable the override?

The default WordPress email system will be used again.

Where can I find my Mailgun domain and API key?

In your Mailgun account, under Sending > Domains and API Security settings.

Can I send HTML emails or add attachments?

Not in this version. The plugin currently sends plain text emails only.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Email Override for Mailgun” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0

  • Initial release with API override, test email function, and admin settings page.