• Thu. Dec 9th, 2021

Plugin to design E-Mail Templates which then can be used in own PHP code


Nov 25, 2021

After about two days trying to use Mailpoets E-Mail-Templates to send notifications from my own code (own plugin) I’m getting a little desperate…

What I want is the possibility for a user to edit certain E-Mail-Templates which will be send for a variety of events on the website. Yes, this would be transactional E-Mails but they won’t fit the default WordPress ones nor the triggers available in Mailpoet.

I actually managed to kind of abuse Mailpoets “send on list subscription” but in doing so I would need to set the recipients to “subscribed” which in turn would clash with the reason Mailpoet is installed on the site in the first place: We need Double-Opt-In for Newsletters, but messing around with the confirmation status would break that flow.

So I’m looking for

  • a way to send Mailpoet E-Mail-Template without an actual subscriber (which according to an old question on their forum isn’t possible)


  • another plugin to design a variety of different E-Mail which could be queried from PHP and used in whatever way.

Basically: I want to send E-Mails from my plugin, but am way to lazy to hardcode templates (aside from the inflexibility) or to code a UI for generating Templates myself.


Leave a Reply

Your email address will not be published. Required fields are marked *