Select one or more tags, then press “Search Plugins”

Find Plugin with any / all of the selected criteria
Search Plugin

Override PHP Mail For Mailpoet (via Wp_mail) Wordpress Plugin - Rating, Reviews, Demo & Download

Override PHP Mail For Mailpoet (via Wp_mail) Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

This plugin overrides MailPoet’s default “PHPMail” sending method. By default, MailPoet calls PHPMailer->isMail(), which relies on PHP’s native mail() function. That approach can bypass your WordPress SMTP plugin settings.

Override PHP Mail for Mailpoet (via wp_mail) forces MailPoet to use wp_mail() for sending. This ensures that your configured SMTP method (for example, via the WP Mail SMTP plugin, or other solutions) is applied to all outgoing newsletters—even if MailPoet’s sending method is set to “Server (Standard)” or “PHP mail”.

Key Features:
* Replaces MailPoet’s PHPMail class using a class alias technique.
* Calls wp_mail(), so WP Mail SMTP or other custom mail hooks can handle the actual sending.
* Avoids the direct $mailer->send() path, ensuring all MailPoet emails pass through the standard WordPress mail pipeline.

Important:
* This is a hack solution and may break with future MailPoet updates (especially major version changes).
* Some MailPoet features (like bounce handling or advanced tracking) may not behave exactly as expected, since the original PHPMailer flow is modified.
* Always test thoroughly (including the MailPoet test emails AND real newsletter sends).

Screenshots

No screenshots provided


Reviews & Comments