When making our website with WordPress it is necessary to have configured the sending of forms from the page itself, so that users can contact us quickly and effectively.
This method allows us to give an extra way of communication to the usual ones or even not having to provide corporate emails or phone numbers that we may prefer to keep private.
Methods of sending forms by e-mail
Currently, to send the forms of a web page, the most used methods are to use the Mail function of PHP or to use a SMTP server.
The first method (Mail function) is an insecure method that can cause you more problems than solutions because it sends the emails without the need to authenticate against the mail server, for that reason all our servers have the Mail function disabled by default guaranteeing an extra point of security.
The second method, is to use a SMTP server to send the form, it is the most recommended method, since all mail that is sent is authenticated against the mail server, which allows us to create a specific account for such purpose channeling all the forms through that account in a safe way.
SMTP sending configuration
In our company we like to make things easy and that is why all WordPress come with the “WP Mail SMTP” plug-in preinstalled and configured with the mail server corresponding to your hosting service and with the email account you have created with your WordPress (if you do not specify any this is created with the name “admin@yourdomain”).
This way you only need a form creation plug-in that allows you to define the SMTP sending so that the form uses this configuration to be sent. For example, if we install the free plug-in “WPFOMS” we will only have to create the form and drag it to all the pages where we want it to appear, since the two plug-ins understand each other and there is no need to configure anything.
Thus, in a matter of a couple of minutes we can set up a fully functional form that uses the email account associated with WordPress to make submissions and without the need to chop any code.
TIP Add a CAPTCHA to your forms to give them another layer of security. If we go to the settings of the forms plug-in mentioned above (WPFOMS > Settings > CAPTCHA), it will allow us to configure a CAPTCHA account that we can use in all our forms. The CAPTCHA account has to be hired separately (there are free ones).
With these indications we hope that you can configure your forms in the WordPress hosted in our company in a few minutes in a fast and secure way. All our hosting allow you to install WordPress in them with a single click. Do not wait any longer, hire now your hosting or cloud for your business at www.swhosting.com.