@locatejp, Version 1.2.1 uses WordPress’s mail filter, pre_wp_mail which was introduced in 5.7, instead of redefining the wp_mail function. If you have another plugin with this filter it may cause an issue.
Do you have a staging site where I can see those errors? You can also deactivate one plugin at a time to find the conflicting plugin.
Thank you for your prompt response! I do not have a staging site. Do you think it could have to do with Contact Form 7? As I mentioned previously I had the same issue when updating to a new version on that plugin. What is the suggested ‘fix’ for this?
@locatejp,
Do you think it could have to do with Contact Form 7?
I don’t think so. I tested it with Contact Form 7. The only way to find out is to deactivate one plugin at a time. I’m not sure how you would do it on a live site.
@naa986 thanks again for your prompt responses. You said:
Version 1.2.1 uses WordPress’s mail filter, pre_wp_mail which was introduced in 5.7, instead of redefining the wp_mail function
So it sounds like it could be an issue where pre_wp_mail is causing my messages to fail. I’m not sure if this is within the scope of support you are able to suggest or not, but then again maybe it could affect a lot of your user base. How would I test that and what would the suggested course of action be to put in a fix? Thanks-
@locatejp, First you need to identify the plugin that is causing this issue. I can then investigate the code and try to find a workaround.
@naa986 Here is a video that appears to identify the plugin. Let me know what you think – https://drive.google.com/file/d/1GQeLoM_ZCJ1fNS6K7boB8YNwN_3O1Cp1/view.
@locatejp, Thanks a lot for the video. I actually wanted to find the plugin that Gmail SMTP 1.2.1 is conflicting with. I know it’s not contact form 7 because I have tested it. But you have other plugins. Here is what you can do:
1) Keep Gmail SMTP 1.2.1 active
2) Deactivate one plugin from the plugins menu
3) Go to the contact form and try to send an email
a) No error? – That’s the conflicting plugin. Let me know what it is so I can check the code.
b) Still an error? – You know that’s not the plugin. You can go back to the plugins menu and reactivate it.
You just need to repeat this process for all the plugins.
You can also bulk deactivate like 5 or 10 plugins to make it faster. Once the error is gone you can then check each one from that group.