I have a user form that our Membership Secretary uses on the front end to add new members as users. The form has a notification which is sent to the user's email address when a user is created by the form. If I click the "Send a test email" button, the email is sent and I receive it. If I actually use the form, I never receive the email.
I am using a gmail account to send email, routing through WP Mail SMTP. I also have WP Mail Log installed so I can track what is sent. When the test email is sent, I can see it in WP Mail Log as having been sent; I can also see it as a Sent Item in my gmail account; finally, it shows up in my inbox. When I submit the form, the email still shows up in WP Mail Log, but not in Sent Mail, and I never receive it.
I tried deactivating WP Mail SMTP and the mail was sent and received on form submission. When I reactivated it, no email was received. I also tried setting up a very simple notification for a regular post form and had the same result: the email appears in WP Mail Log, but doesn't seem to go any further.
I also use Gravity forms on the site and all of the notifications generated by Gravity Forms forms seem to go out just fine. I did try deactivating Gravity Forms (along with every other plugin except, Types, Forms, Elementor, and Elementor Pro), but that didn't change anything with my user notification until I deactivated WP Mail SMTP, so I don't think it is a conflict with another plugin.
I would think that this was a problem with WP Mail SMTP, except for the fact that the Gravity Forms notifications seem to go out without a hitch. It seems as if something is happening between the email being logged and the actual send with a Toolset form, but I am at a loss as to what it could be or how to find it. Maybe something with the headers?
Any ideas would be greatly appreciated!