Configuring WordPress Email and SMTP with WP Mail SMTP Plugin
Although WordPress comes with lots of handy features, but there are certain things which you need to take care at your own. For instance, when you try to shift your website from one server to another, you generally face the problem of reconfiguring the contact us form.
Basically the problem arises due to the fact that when you shift the server, the security level (security scripts) also gets modified, because of which it becomes necessary to change the SMTP (Simple Mail Transfer Protocol) permissions.
Apparently, to do so it hardly takes few minutes if you are aware of the actual thing. So let’s check out those simple steps, which will make your contact form functioning again.
1. First of all install and activate plugin - WP-Mail_SMTP
2. Now, click on settings tab (in the left side bar of dashboard) and select “Email” from the list.
3. In the Advance Email Options page fill “From Email” and “From Name” as preferred.
4. In the “Mailer” option select “Send all WordPress emails via SMTP” button.
5. In “SMTP Host” option type mail.yourdomainname.com if you use mail from your domain. Or type smtp.gmail.com if you use your Gmail address.
6. In “SMTP Port” type the port no (if you don’t have then ask them from your host provider) and for Gmail users you can type the following :-
- 25 or 465- For SSL encryption
- 587 – For TLS encryption.
7. Select the Encryption options accordingly.
Note: If you use mails from your domain then ask the provider with the encryption details. You can also leave it blank and try whether it works or not.
8. In “Authentication” option select “Yes” if that is required by your host provider, otherwise select “No”.
9. Now, if you have selected “Yes” above, “Authentication” fields then you are likely to provide the Username and Password details.
10. Now just click “Update Options” button.
11. You can also test mail by typing an email address and click “Send Test”.
12. That’s it, you are done.
Note: I just want to point out the fact that you will need to configure SMTP only when it has been reconfigured by your host provider.