Contact forms are highly needed for our websites. It makes it easier for customers to reach us directly from our websites. But our websites do not come with this form, so the responsibility to build one is always on us. Good enough you do not need to learn any code to get one, it is easy and straight forward to achieve.

That is what I have set to achieve in this training, I will show you how to set up your contact form. We will not stop at that, I will show you how to get a notification every time someone sends you a message via your contact.

Before I begin, I think it is good you understand why you need a contact form.

Every one of use already has an email address. So why the need for a contact form?

You can easily insert your email address and people will see it and get in touch with you. Yes but it goes beyond that.

Relax

We will not be coding, we will engage plugins which are very easy to install.

Your Email address is not good to be pasted everywhere around your website, they are easy prey for spambots. So this will lead to you receiving a lot of spam mails.

Another good reason why filling contact form is better than emails is the time taken. It is easy and faster to fill the forms on your website than moving to email platforms to send mail. And top of it, you can get the information you need. While emails will give you email addresses, from the contact form you can get phone numbers and the likes.

So click the Next Page Icon as we begin to take a look at how to create and add the form to your contact page.



Join the Discussion
Write something…
Recent messages
AndyN1 Premium
Hi Ayodeji
Thanks for another excellent instruction. I have been trying to set this up but I haven't got the email to work yet. I tried to use my Gmail address but they blocked that for security reasons. My preferred solution would be to use the email address that is associated with my site. So on Wordpress. Does anyone know how to set that up?
Reply
Parameter Premium
Glad you found it usefull

Have you been able to set it up now?
If not, I will be glad to help you out, kindly let me know where you are having issues

Ayodeji
Reply
AndyN1 Premium
Hi Ayodeji
Thanks for your offer to help.
I am trying to setup a Contact us form on my site and have all emails routed to the main email address I use on my domain. (andy at etc)
Just in case I also setup an email forward from admin toandy at etc. And tested that and it works.
I installed both WP Forms and WP Mail SMTP plugins.
I set up a Contact Us form following your instructions and added it as a widget on my sidebar.
I've setup the SMTP plugin with the andy at etc email address and sent a test email and it works.
I've used the SMTP settings from the WP email using the Outgoing mail settings.
When I fill in and submit a test message using the form I have setup with another Gmail address of mine - I don't get either an email to the email andy at etc, nor a confirmation or error message to my Gmail address. Here are some screenshots that might show you what I am doing.
Any help would be most gratefully received.
Best regards
Andy
Reply
Parameter Premium
,

Great Andy, so glad you are still trying your hands on it.

I will take a look at it, I believe we can work together and solve any riddle.

But do give me some time I will revert

Ayodeji
Reply
AndyN1 Premium
Hi Ayodeji
I think I may have fixed it.
I was wondering how the connection between the Form I created and the WP Mail SMTP plug in was set up. So I looked in the form settings for general and notifications. Here is what I found.

I thought I should change the email from settings. So I did as per screenshot 06. And now it works. I received the email notification to andyat etc and I received a confirmation email to the Gmail address I was trying to contact with.

So I think it is now working.

Please do let me know if there is anything I got wrong and would be advised to change.

Thanks again
Best regards
Andy
Reply
Parameter Premium
,

Wahoo, I am so encouraged with the way you looked at this issue. All the while I have used my primary email. I never thought of using another email.
The moment it passes the email test, then you are good to go.

Another thing you can is ask a friend to use the contact form. so that you can be double sure, it works

You have just spurred me up to get back to work and conclude on the last 2 issues I intended to develop a training around.

Thank you once again

Ayodeji
Reply
AndyN1 Premium
Yes. I think I just had to play with it a little more to work out how to set it up. A bit of a process of trial and error.
Thanks again and best regards
Andy
Reply
weixiangW Premium
Thank you for creating this training, but I got a problem in the last step. I ran an email test and it said "There was an error while sending the test email". I double checked every item including the password. Every thing is correct but it just can't run the test. How should I solve this?
Reply
Parameter Premium
,

Glad you tried it out.

Do check your email box, I mean Gmail, outlook or yahoo.

Your box may be seen it is as strange mail. Thus you will get a notification asking you to authentic such mails.
Then you can follow d instructions. After which u can text emails again.

Pls cross check the smtp settings properly, ensure it is correct
Reply
weixiangW Premium
Thank you for the advice. I have solved my problem using different methods, but I'll try yours in the next time.
Reply
weixiangW Premium
Thank you for the instructions. I have solved my problem now. I used Gmail so I enabled "less secure apps" in google account settings, and it worked. I recommend you add this method into your training course so others having the same problem may be relieved quicker.
Thanks again for your training. It's very informative and useful.
Reply
Parameter Premium
Wahoo!!

You honestly made my day.

I will update the training and add how to resolve the email deliverability issue.

Ayodeji
Reply
OCH3943 Premium Plus
Hi Henry / Ayodeji, may I know where do I find this google account settings?
Reply
Parameter Premium
Hello Richard,

If you are referring to the SMTP settings, you will see it on Lesson 5 of this training.

Thank you

Ayodeji
Reply
OCH3943 Premium Plus
Hi Ayodeji, it didn't work for me unfortunately.
Reply
Parameter Premium
How,

where did you get stock?

Can we work through it together?

Ayodeji
Reply
OCH3943 Premium Plus
The problem I am facing is when I tried to use Gmail to receive notifications. From what I have read, I need to create a Google API and the process seems a bit harder.

I found the below resource but haven't got to work on it.

https://www.wpbeginner.com/plugins/how-to-send-email-in-wordpress-using-the-gmail-smtp-server/

I solve the problem by using my website domain email instead. But it would be useful to document how to set up using the gmail method.

It would be useful for many of us if you can help to update your tutorial or have a separate tutorial on this setup?
Reply
Parameter Premium
Thank you for your suggestions.
Reply
OCH3943 Premium Plus
Thank you Ayodeji
Reply
lesabre Premium
Hi Owoeye, thank you for sharing this lesson. Much appreciated.

All the best,
Michael
Reply
Parameter Premium
,

You welcome Michael

Ayodeji
Reply
JossLandry Premium
Thank you, thank you, Ayodeji. From me who is now attempting to build a website with content and the proper forms, I am grateful you wrote this blog. How did you know? Anyway, I have saved your post since I have to work this morning, but will dig into it later today.
Can I write to you if I have a question?
Have a great day.
Reply
Parameter Premium
,

I am glad you found it useful. I look forward to reading from on your enquiries

Thank you

Ayodeji
Reply
Top