Use Internal MM Class to Log Emails

MemberMouse utilizes an Email wrapper class around wp_mail internally to provide useful methods specific to the needs of the plugin. In addition, if the email is configured to be sent to an existing member it will automatically log this event in MemberMouse's activity log.

If you'd like to utilize the MemberMouse Email wrapper class, here's a script that demonstrates how to use it:
Download sample script

WARNING: This script is provided in an unofficial capacity and the MemberMouse Customer Success Team cannot provide any support in relation to the interpretation or use of this script. Furthermore, the MM Email wrapper is an internal class and is subject to change in future releases of the MemberMouse plugin.

Was this article helpful?

Related Articles

Can’t find the answer you’re looking for?

Reach out to our Customer Success Team
Contact us!