I assume you mean a contact form? If so, what plugin are you using for the contact form functionality?
Hi thanks for your response.
Its with both contact form and basic wordpress user mails or woocommerce mails. In short anything related to emails.
I am not a coder or developers so my terminology would be wrong, but i will try my best to explain in detail.
I have a plugin called contact form 7. it doesnt seem to work. it keeps giving me an error stating it failed to send the email.
I have woocommerce on my wordpress. No emails are going out.
On wordpress itself, when i go to change the admin email or something, it never sends the verification email.
My domain is being hosted on google cloud.
It sounds like your hosting provider has disabled PHP’s mail() function, which is used by WordPress to send you email notifications, and is also used by contact form plugins and more.
This is a common safeguard employed by hosting providers when they suspect that another customer on the same server is sending spam emails directly from the server.
Another alternative is that PHP’s mail() function is still active, but spammer activity from the server has already caused any email sent from it to be blacklisted. This would result in the emails being sent, but never received by any email address with basic anti-spam capabilities.
You can check this by leaving a comment on your site and checking if you receive an email. Another alternative would be to use the Health Check plugin and sending yourself a test email from the plugin’s Tools tab to see if it works.
If you didn’t receive a test email, you could try using an SMTP plugin to configure your WordPress site to use your email’s outgoing mail server instead of PHP’s mail() function.