eprez
Forum Replies Created
-
Situation before was this.
Had 1st mu-plugin and 2 custom emails configured in the form: 1 for the user and 1 for the admin. Result was:- User gets system activation email and custom email (OK)
- Admin gets custom email AND system email (which should have been disabled).
Now I have made further tests by using the 1st mu-plugin and deleting the custom emails from the form. Turns out things seem to work out ok after re-creating the emails! Not sure what changed, if anything. At the moment the situation is:
- User gets system activation email and custom email (OK)
- Admin gets just the custom email (OK!)
Again, not exactly sure what changed. I’ve been doing the tests in a local sandbox environment, so I haven’t fiddle with much else in the mean time.
Things are working fine this way, thank you for the support Patrick. Seems the mu-plugin code works well even as a code snippet.
Hello @wpmudevsupport12,
I tried the new code as a MU-plugin and it seems to kill all registration emails both to the user and admin. The user won’t even get the activation link.
Hey @wpmudevsupport12,
the code seems to do the trick!
The system mail is blocked and the custom one gets sent.Thanks Patrick!
EDIT: doesn’t seem to work with “Email Activation” activation method.
- This reply was modified 5 years, 6 months ago by eprez.
setting “Activation Email” to “None” works for stopping the extra email to the user. As you said it doesn’t work the same way with admin, and I noticed that even plugins like Manage Notification E-mails and Better Notifications for WP fail to disable/edit the notification while Forminator is active. Looks like Forminator overrides such customizations somehow.
Please let me know if there are any updates on this.
Thank you.- This reply was modified 5 years, 7 months ago by eprez.