https://media01.nerdia.net/uploads/nerdia-logo-340x156.png 0 0 Stefan Helander https://media01.nerdia.net/uploads/nerdia-logo-340x156.png Stefan Helander2016-01-27 10:07:082016-01-27 10:07:08Problem sending email on form submission in WordPress
Problem sending email on form submission in WordPress
Adding a form to your WordPress website is normally done by using a plugin for it, like Contact Form 7 for example. At some hosting providers, there can be a problem for the plugin to send emails to you when someone is posting through the form. To prevent spam through forms, many hosting providers disable the PHP mail function that is used in WordPress to send emails, causing for example form plugins not being able to send emails.
The solution is to set up WordPress to use SMTP, preferrably with authentication, to send the emails through a real email server. To do this you need a plugin like WP Mail SMTP. Set it up either with the hosting provider’s SMTP server or use the one you normally use for email.