Replies: 4
Hi Forminator team,
I built a small MU plugin because Microsoft-hosted recipients (Outlook/Hotmail/Live + many M365 tenants with *.protection.outlook.com MX) routinely greylist or junk mail from our default sender stack. For those domains only, I must force Gmail SMTP (app password) and align From/Sender for DMARC; everyone else should keep the site’s default mailer.
I’m not asking for customization—just the name of the documented hook/function (or a doc link) where Forminator hands off email right before sending, so I can attach my logic cleanly.
I remember that sometimes it was Forminator_CForm_Front_Mail for processing e-mail but not it seems like not working.
What I’m looking for (just names / doc links):
- The hook(s) or function(s) Forminator calls immediately before an email is sent for:
- (a) new submission notifications (admin + user), and
- (b) Entries → Resend.
- Whether those paths ultimately call
wp_mail()(thus triggeringphpmailer_init) or go through a Forminator mailer wrapper first. - If there’s a single, reliable filter/action that fires for all Forminator-originated emails (including Resend) where I can read/adjust
to/cc/bcc/from/reply-to/headersor swap the transport.
Thanks!
Peter