Quantcast
Channel: WordPress.org Forums » [Forminator Forms – Contact Form, Payment Form & Custom Form Builder] Support
Viewing all articles
Browse latest Browse all 2061

Just need the hook/func name: where does Forminator hand off email

$
0
0

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):

  1. 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.
  2. Whether those paths ultimately call wp_mail() (thus triggering phpmailer_init) or go through a Forminator mailer wrapper first.
  3. 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/headers or swap the transport.

Thanks!
Peter


Viewing all articles
Browse latest Browse all 2061

Trending Articles