Title: Mailvat
Author: robm89
Published: <strong>31 มกราคม 2024</strong>
Last modified: 22 พฤษภาคม 2026

---

Search plugins

![](https://ps.w.org/mailvat/assets/icon-256x256.png?rev=3165489)

# Mailvat

 By [robm89](https://profiles.wordpress.org/robm89/)

[Download](https://downloads.wordpress.org/plugin/mailvat.1.0.13.zip)

 * [Details](https://th.wordpress.org/plugins/mailvat/#description)
 * [Reviews](https://th.wordpress.org/plugins/mailvat/#reviews)
 *  [Installation](https://th.wordpress.org/plugins/mailvat/#installation)
 * [Development](https://th.wordpress.org/plugins/mailvat/#developers)

 [Support](https://wordpress.org/support/plugin/mailvat/)

## Description

Mailvat routes all your outgoing emails to your SMTP service for easy local development.

My recommendation is to use [Mailpit](https://github.com/axllent/mailpit) in your
development environment with this plugin.

This is an UNOFFICIAL plugin that just integrates Mailpit or MailHog in WordPress.

## Installation

 1. Upload the plugin folder to the plugins directory, e.g. the `/wp-content/plugins/`
    directory
 2. Optionally: Configure your Mailpit SMTP settings by using the `MAILVAT_HOST` and`
    MAILVAT_PORT` constants
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

### What is Mailvat?

Mailvat is a simple plugin that integrates your SMTP testing tool, like Mailpit 
or MailHog, with WordPress.

### What is Mailpit?

[Mailpit](https://github.com/axllent/mailpit) is a nice email testing tool for developers.
All outgoing emails from your website end up in the inbox in Mailpit, instead of
being sent to the original recipients. This helps us testing our emails.

### How can I use this plugin?

Define the Mailpit SMTP configuration values and activate this plugin.

### What are the plugin’s default configuration values?

If you do not define the `MAILVAT_HOST` and `MAILVAT_PORT` constants yourself, these
will be used by default:

MAILVAT_HOST=mailpit
 MAILVAT_PORT=1025

### Is this an official plugin from Mailpit or MailHog?

This is NOT an official plugin from the creators of Mailpit or MailHog. I am not
related to anyone in the Mailpit or the MailHog team.

This is just a simple plugin to easily use an SMTP service, like Mailpit or MailHog,
with WordPress. I made this plugin because I could not find it yet and it speeds
up our local development if we can easily install this integration in WordPress.

## Reviews

![](https://secure.gravatar.com/avatar/2ce24492279223e09e666c760384573bc045d78af32a1459b8fcf341f7ab56a1?
s=60&d=retro&r=g)

### 󠀁[Works as described](https://wordpress.org/support/topic/works-as-described-349/)󠁿

 [Pär Thernström](https://profiles.wordpress.org/eskapism/) 20 มิถุนายน 2025

Been using this together with docker compose to run multiple local WordPress test
installations. While developing a new email report feature for one of my plugins
this plugin has been really useful to quickly get Mailpit integration working. Just
install and activate and it works 🎉.

 [ Read all 1 review ](https://wordpress.org/support/plugin/mailvat/reviews/)

## Contributors & Developers

“Mailvat” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ robm89 ](https://profiles.wordpress.org/robm89/)

[Translate “Mailvat” into your language.](https://translate.wordpress.org/projects/wp-plugins/mailvat)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/mailvat/), check out
the [SVN repository](https://plugins.svn.wordpress.org/mailvat/), or subscribe to
the [development log](https://plugins.trac.wordpress.org/log/mailvat/) by [RSS](https://plugins.trac.wordpress.org/log/mailvat/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0.13**
 *  Last updated **1 สัปดาห์ ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 5.6 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/mailvat/)
 * Tag
 * [smtp](https://th.wordpress.org/plugins/tags/smtp/)
 *  [Advanced View](https://th.wordpress.org/plugins/mailvat/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/mailvat/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/mailvat/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/mailvat/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/mailvat/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/mailvat/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/mailvat/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/mailvat/reviews/)

## Contributors

 *   [ robm89 ](https://profiles.wordpress.org/robm89/)

## Support

Issues resolved in last two months:

     0 out of 1

 [View support forum](https://wordpress.org/support/plugin/mailvat/)