# Mail Hog smtp

**URL:** <https://community.localwp.com/t/mail-hog-smtp/28253>\
**Category:** Support\
**Tags:** mailhog, general-use\
**Created:** [October 13, 2021, 3:23pm UTC](https://community.localwp.com/t/mail-hog-smtp/28253 "2021-10-13T15:23:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![escocia1](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/escocia1/32/12080_2.png) [@escocia1](https://community.localwp.com/u/escocia1)\
**Post date:** [October 13, 2021, 3:23pm UTC](https://community.localwp.com/t/mail-hog-smtp/28253/1 "2021-10-13T15:23:20Z")

</div>

wondering how powerful this addon is currently?  
will it allow us to test most popular wp smtp plugins?

---

<div class="post-metadata">

**Author:** ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)\
**Post date:** [October 13, 2021, 5:31pm UTC](https://community.localwp.com/t/mail-hog-smtp/28253/2 "2021-10-13T17:31:25Z")

</div>

Hey @escocia1 – I’ve moved this topic to the general “Support” category since Mailhog isn’t actually an Add-on and comes bundled with Local core.

The Mailhog utility in Local is pretty powerful. To be specific, any mail that is sent using PHP from the actual WordPress site will be captured. This includes emails that are sent using the [`wp_mail()`](https://developer.wordpress.org/reference/functions/wp_mail/) function, but also lower level PHP functions to send mail.

I’m not 100% sure if Mailhog will capture emails from plugins that replace WordPress’ default mailing function and instead make API calls to their service.

Some example plugins that come to mind are for [Mailgun](https://wordpress.org/plugins/mailgun/) or [Sendgrid](https://wordpress.org/plugins/wp-sendgrid-mailer/). If you are using some custom emailing plugins, you might want to keep that in mind!

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [January 11, 2022, 5:31pm UTC](https://community.localwp.com/t/mail-hog-smtp/28253/3 "2022-01-11T17:31:40Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
