HTML Form to Mail | Contact form to email the fastest way | contact page with php mail
Vložit
- čas přidán 11. 07. 2024
- Blog link : codeconia.com/contact-form-wi...
Hey everyone. Today i am going to tell you how to connect your website contact form with your email using PHP.
In this video, we are going to create a contact form and make a mail function using PHP and test it on a live server
//post your issue in our forum forum.codeconia.com/t/php
🎉 Get a VPS server for 4$ with 6GB RAM 🎊
link.codeconia.com/1gow1
🔔 Get 82% discount 😍 from hostinger for wordpress hosting 🔔
link.codeconia.com/iqra1
📢Get a VPS server for $3.5/month 😍
link.codeconia.com/uzqn5
❤️ Get Unlimited hosting for $3/ month ❤️
link.codeconia.com/jf2y9
👉 Join Our Telegram Channel 👉 t.me/codeconia1
🎉 Join Our DiscordChannel 🎉 / discord
✅ Follow me on Instagram 👉 / ajith_jojo_
💡 Subscribe to get all updates: 👉 czcams.com/users/ajithjojo11...
00:00 Introduction
01:03 Creating HTML form
03:30 Creating PHP File
05:00 explaining the code
08:51 Test the code
09:37 fixing a small bug
10:05 Check email
if you are in free hosting providers like 000webhost or localhost .. you can try SMTP method : czcams.com/video/90LS_oSKD0o/video.html
hi
upload testimonials video without css
please
Bhai
Hame kya karna hoga
Which server did you use
Finally!!! Exactly what I have been searching for, thank you brother!
Fr lol
Thank you so much! After a long time searching I finally found a tutorial which actually works. This tutorial was worth watching!
most welcome
I got a error man.. :(. After submitting the form I’m getting 405 not allowed 🚫
Wow, this is a great help for front end developers, thank you.
Thank you very much for helping me on this topic, I have seen many videos related to this topic, but none of it worked for me.
Finally, I found your video which worked for me. Thank you again.🙏
Thanks sir, I was searching about this from 2 to 3 days finally got this ,Thanks .
Wow... Thanks so much, Codeconia
Thank you so very much for your wonderful training video! I did it and am so happy for your information.
Very useful for font-end developers. Thank you.
ThankYou bro this video is really helpful for me to make my cv form working
your are a good web designer! thanks i have been serching this method for long time , but i foun it , thank you so much
Thanks, saved me time.
Thank you sir , I literally tried alot to figure out thos concept. It help me lot
This is what I was searching for can't thank you enough man take love❤️❤️❤️❤️❤️
❤
@@AjithJojo118 ❤️❤️❤️
It's great to make your acquaintance. Wishing your families good health, prosperity, and a wealth of good luck.
Thanks a lot for this concept.
great video, thank you so much!
You are best sir, it is very sad to see that even you are working that much hard and yet your channel is not growing fast but sir u r amazing and everyone will acknowledge your work.
really appreciate your comment .
guys like you make me and my channel grow, i expect your support further
oh myyy godd, it had been three days that i was trying to figure out how to send emails , watched so many tutorials but none of them worked, your video is a saviour sir!! it worked finally ,thankyou so much for all your efforts in explaining it so easilyy. Its the best tutorial on youtube!!The bestt!
most welcome ☺️☺️
Honestly
Explained well with a clear step-by-step guide. Thanks
I haven't opened and pushed to the remote website yet) hopefully, it will also go as smoothly as it went so far.
sure .. it will
@@AjithJojo118 it did, thanks
You are golden hearted man keep it up 😘😘😘
Awesome thank you very much!!
You are the savior of my website
Really useful video! Thank you!)
Thank you so much.. love you my frnd
Great!
Thank you dear ! You did a great job !
I consulted about twenty tutorials but all of them were incomplete. The email sent did not include the user's email address or the subject.
With your tutorial, I was able to add the object easily.
So the email I receive tells me everything I need to know.
Sender's email, subject and message.
Thanks a lot !
glad to hear that
Thank You Very much
Thanks bro for this video
Thank you so much ❤
Thanks! Great!
Thanks a lot
best idea my dear sir
Awesome work brother ...
Thanks brother
Thanks for this best one
Thank you sir...
Thank you very much, it worked !!
awesome
when i uploaded php file in the root folder in the cpanel, the file type of the php file is like text/x-generic. how to change it like that you have for your php file ?
thank you so much for this video
You are so welcome!
Thanks a lot brother.
thanks when publish my website and try the codes you provides it runs but i didn't see the email from site going to recipient can help me with? thanks
thanks it very very help me
Thank you!
this great..thank you very much!!!
cool
sir kya is ko karne k liye domain aur hosting lena important h aur mein jab submit par click karta hoon then it says This page isn’t working
Thank you
Thank you so muchh 😍
you have no idea how you helped me now
thankyou bro
that was damn simple
most welcome
@@AjithJojo118 bro i couldn't complete
I got struck with that cpanel
I am just 1st yr student
Can u Help me again with simple context
Like what i have to do with that cpanel or like wheather there is a alternative
I am doing doing project on restaurant website
Now i have to submit the html form to admin email id
Plzz...
yeah email me the details to ajithjojo07@gmail.com
or whatsapp me +91 8129505560
@@AjithJojo118 yes bro i have mailed😇
will check
it's tricky but it works....
You are so cool brother thanks you❤
Really awesome
Thank You
Sir at mail.php.. if we write code for submitting data to database AND also for getting mail so it's workS ???
Do I need to take extra steps to upload this code to a live server? I have live server in VSCode and open the form.html in live server. Is that sufficient enough to send emails from the contact form?
Thanks.
Great tutorial!
thank you
Many many thx dude
sweet
but for me mail is not coming to my gmail as i provided in php code but thank you msg is coming-no mail can u help me on this
thanks...!
awesome thx a lot
bro thanx man i didn't even know that php mail service don't work on local aerver but work on live server, thanx i was wasting my so many time in this shit
i mentioned that in the beginning of the video
Why does our local environment If we want to test email functionality, doesn't support?
Ajith, thanks for this simple tutorial. Still I'm having isues implementing this on a webflow exported HTML code where the success/failure message is embedded in the contact.html. Would you be able to help me out?
Thanks a lot for this
most welcome
i have hosting in IONOS . not able do the mail function. can please help me out
Thank you so much sir plzz tell if we an samosa and it's rate in one website in another website how to if we press samosa we have to get its price both are not same website
great WorK ...
Hi, thanks for the great video. Worked very well.
Do you have another video on designing the sent email?
can you explain what u exactly mean
You mean are you ok
Nice
Hi Ajith, thanks a lot it worked for Gmail but I have GoDaddy web server. unable to receive the email from there? Any suggestion?
do we have to make any backend in localhost database for this
hi i juat test ur code but i didnt recive any inform to my mail ??
does it reset the form input fields after submitting it?
I haven't received any messages.. is there any thing to do with email or hosting stuff..??
you are great. I like your explanation
thanks 😊
realy. you are good explanation
Thanks for your tutorial. I use the tutorial and I uploaded the form on my cpanel the form said the mail was successfully sent, but no email was found in my Gmail account. What is going on? Thanks so much.
Hi @codeconia, i've recelntly upload my website with this current .php file, but it don't send me any email for the form of the website. I'm with cpanel as files manager, any idea?
create the FROM email address on ur cpanel email accounts.. thn it will work.. some providers need a valied sender email id
We connect to mail and also
That can we connect to database ????
Plz sir
The values those we are getting to mail so if I want to also submit it to my database so did it works ???
thank you boss
most welcome
Sir i have a problem i can not use it in my vs code please help me how to fix the error 405
you were amazing
thank you
My server is not working this code can you give what is exact problem for this
thanks brother!
most welcome bro
Agr koi website abi online nhi h to kia uska b msg send hoga gmail py? Mny apk steps follow lkn gmail py msg ni arha
Thanks a ton sir thanks a lot🙏🙏
you welcome
@@AjithJojo118 Sir if i create a dropdown menu option then how do i use the code because here the attributes u have taken is single like phone number, email all separately but when i go for dropdown menu option with multiple choices then how do i code it for email verification
whether user also receive email like greeting messages? in their gmail?
how to do that
what if I have two submit more than one form on the same website
When I do same after button submit it shows conflict 409 help me
Tried it but getting the 404 error message..how will I link it to an index page
It wont work for me, worked for 2 day but I have not recieve mail afte feeing enquiry
not work in google workspace, can u help me brother?
Instead of giving me mail it just redirecting users to my php script what should i do???
but how do we test it if we dont have access to cPanel?
Bro it's working but I did not get mail from my Email i have hosted in godaddy and i have checked in spam folder also
cone run success but gmail account not any massage show Why?? plz tell me why
Hi, I've got "405 Not Allowed" message. What can it be? I have made exactly like you, but still.. :(
i added the code in wordpress server i didnt receive any email ??
Does it requires to install xamp software
hello @Codeconia,
very helpful video. please one more issue. after sending the mail, the redirect does not take me to my thank you page. please can you help with that? i am hosting on hostgator
Hello boss, have you been able to resolve it and did you get the information from your contact form in your mail box?? Looking forward to your reply, thank you.