Frequently Asked Question
The email service is totally depends on hosting service provider and WordPress setup.
Nowadays, most of the hosting service provider are limiting email sending process and restricting with different rules. Let me explain.
For hosting service provider, if a user send SPAM email then the receiver can block the email or can block the whole server. So hosting service whole IP range can blocked and no user can send email even for genuine user too. So hosting service provider blocks email which looks like spam email. Also there are different rules set by hosting service provider so user can limit the email serive. Some of the rules are:
- User can send email from their domain email only. Example, if your domain is example.com then you can send email from contact@example.com email address. You cannot send email from any other domain loke example@google.com or example.yahoo.com
- User can send 10 email per hour.
- User cannot send email from PHP mail() function. User can send email via SMTP only.
- User can send email via Oauth based SMTP email only. User cannot send email with old SMTP email service. Oauth is the new system for SMTP service
- The email serive are blocked by default. User must send email to hosting service provider to enable email system with PHP.
So you should contact your hosting service provider and ask them why email is not sent and they will guide you on this.
If you have already followed all their steps then now you can check in WordPress for how to setup SMTP or email service in WordPress core. You can see articles here:
https://blog.cf7skins.com/using-smtp-to-send-emails-in-contact-form-7/