No Server config, SMTP ect, No phpmail and it's just this simple?. i cant believe i had spend days trying to configure phpmail, to no avail. thanks a million.
I too have been fighting to find a way to send mail through my site. It's been hours of searching over many days but now that search is over. Your video was great and got me finally up and running. THANK YOU!!
About inserting more inputs. I am developing a Thank You page like yours, but adding an ARRAY. For example: “Thank You, $name for contacting us. We will write you back to $email. Your selected options are: $array_with_selected_or_checked_options. I would like that array to be showed separated by comas. I checked something about the IMPLODE function, but how do I do to pack the array with the selected options in one variable and insert it everywhere? Are you in Stackoverflow?
Very good video and explation. Now, if I have an existing website with many folders in my root directory, where or which folder do I upload my files to? Can you shed some light? Thanks
Actually, I have tried everything including following step by step and replicating it on my Forms, but they do NOT submit. No action happens to the beautiful form. I need help!
Great tutorial! One of the best on the subject. Can i please ask you, if i want to have a modal (popup) message once the email is sent how do i link the script? Instead of how you did with another thank you page with a return to homepage link? Thank you for your answer.
Thank you for your Tut. It is great! I'd like to add some more input fields, like fon number or date in the form. How can I change the php file to send this information with the email. I'd try to do this (mail($recipient, $tel, $subject, $terminwunsch, $message, $mailheader) or die("Error!");), but it does not work. Can you help me?
hello all...is there any way, to add one more field? i want to get the sender's phone number too,in the emails that i receive? tried some things, but no luck!
is very useful vide,works on mobile and pc. But if the one who fills in the form enters a yahoo mail address no longer receive his answer on gmail . The form works only if he introuduces a gmail address. Can you help us?
I make three files and copy paste all codes of yours and change email address to mine in PHP file, uploaded. However when I check and fill the form and sent. it shows sent confirmation message. However email was not received in inbox or junk folder. Do I need to make some setting in cpanel setting?
Oh never mind I figured it out. Gmail will not allow it for some reason and in protonmail it is going into the SPAM folder! Why? I don't have the slightest idea, thoughts?
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\phpchurch\send-message.php on line 22 Error! How to fix this? :(
Hi there, I am having an issue with something that I cannot figure out. I have used all your code but am working with a one page website that has the contact form at the bottom of the index.html. After putting it all together and filling out the contact form from my site it does say that the message was sent but I never get the messages. I think it might have something to do with Hostgator and where the file is located and was wondering if you could direct me to the correct place to upload my files? I have sub domains under my main domain as I have the baby package and do I need to put these files in the zip folder into the public_html folder and then extract them there? If so then how will the sub domain of my website access these files? or is it because I am using a one page website? It's very confusing on Hostgators end because they cannot help me, I have tried to call them twice and both times they hung up on me. I had even tried to forward my email from Hostgator but that didn't work either. I have gmail and protonmail and neither email gets the message so it has to be something on the server side. Please help:>}
If you're hosting your site on vs code using the live server extension the POST method does not work. Once you upload your site to a web host provider such as godaddy and they allow emails to be sent through their service it works perfectly
If you're hosting your site on vs code using the live server extension the POST method does not work. Once you upload your site to a web host provider such as godaddy and they allow emails to be sent through their service it works perfectly
Thank you for the tutorial but it is not working. It is giving die Error! message. I uploaded the same github code into server. Please check. Thanks in advance
@@muhammadjunaidraza2246 Please download the source code from the github repo. The link is in the description. Then at mail.php change the recipient email address to your email address. You will receive the email. If you cant see it in the main inbox, check your spam folder.
If you're hosting your site on vs code using the live server extension the POST method does not work. Once you upload your site to a web host provider such as godaddy and they allow emails to be sent through their service it works perfectly
hey your code didn't your it is throwing out this error: Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\my document\contact.php on line 11 Error
If you're hosting your site on vs code using the live server extension the POST method does not work. Once you upload your site to a web host provider such as godaddy and they allow emails to be sent through their service it works perfectly
I downloaded the code from git and hosted it on my live server but it did not work. can you provide me your live server link and source code that working properly?
@@ohid2010 you have to change the sender, it is the fourth parameter, I have a tutorial that you can see to understand it better ruclips.net/video/IO9vSm-a918/видео.html
@@onwuekwemiracle6906 i dont remember exactly why i was needing it for... but i think certain plugins or certains thins like google ad sense or i dont remember which one asks you some layers of security as the validations of the sender email, if it doesnt have it your site could be easly massively spammed with trash mails
Concepts, code, and execution were easy thanks to this tutorial! YOU ARE THE BEST MAN!
Indian accent
No Server config, SMTP ect, No phpmail and it's just this simple?. i cant believe i had spend days trying to configure phpmail, to no avail. thanks a million.
Thanks for your Help!! I have seen so many Videos that couldnt help me out. But your way works fine and simple! THX!!!
I too have been fighting to find a way to send mail through my site. It's been hours of searching over many days but now that search is over. Your video was great and got me finally up and running. THANK YOU!!
Excellent tutorial with speak is fine. Thanks from bottom of my heart.
A clean and cool tutorial !
Best tutorial for this topic. Thank you very much!
thank you for this tutorial! worked like charm!
excellent tutorial, it helped me to make my first contact form ✌
not every hero wears cape THANK YOU
That's exactly what I was looking for!!! Thank you so much!! Awesom stuff. Super simple :)
Great tutorial. Thank you!
Very informative video. Thanks for the content.
thanks man you helped me a lot. You're a chad
Thanks buddy! I've done it!
Thank you so much!!! It is working all good on my website!!!!!!
Thank you, what type of setting do you use for your VS code?
About inserting more inputs. I am developing a Thank You page like yours, but adding an ARRAY. For example:
“Thank You, $name for contacting us. We will write you back to $email. Your selected options are: $array_with_selected_or_checked_options.
I would like that array to be showed separated by comas. I checked something about the IMPLODE function, but how do I do to pack the array with the selected options in one variable and insert it everywhere? Are you in Stackoverflow?
Very good video and explation. Now, if I have an existing website with many folders in my root directory, where or which folder do I upload my files to? Can you shed some light? Thanks
It doesn't matter. Just make sure that the path of the file is right.
Thanks, it worked fine!👍🙂
Thanks for the video.
Pls do I need to upload my project to live server for this code to work? Or can it work locally using xamp server ?
This is a really good tutorial, thank you. I am having a problem though. I get an error every time I try sending my form. Can you help please?
in the mailheader you have to put the email of your web domain
Actually, I have tried everything including following step by step and replicating it on my Forms, but they do NOT submit. No action happens to the beautiful form. I need help!
Great tutorial! One of the best on the subject. Can i please ask you, if i want to have a modal (popup) message once the email is sent how do i link the script? Instead of how you did with another thank you page with a return to homepage link? Thank you for your answer.
Works well. How can I add a list of checkboxes so the email contians a list of items I check?
Thanks for the video.. I'm such a noob when it comes to back end lol the font in your IDE is a bit hard to read for me though.
Love the help and video. I was trying to add more fields and I cant get it to work. I need 3 more fields and 2 need to be check boxes.
Thank you for your Tut. It is great! I'd like to add some more input fields, like fon number or date in the form. How can I change the php file to send this information with the email. I'd try to do this (mail($recipient, $tel, $subject, $terminwunsch, $message, $mailheader) or die("Error!");), but it does not work. Can you help me?
me too , find you a solution ?
No!@@skonfoot4066
Can you please provide the video for attaching a file to mail with same contact form
❤thank u boss
Please show at the beginning what the end product will be so we know if it is the right thing for us.
hello all...is there any way, to add one more field? i want to get the sender's phone number too,in the emails that i receive? tried some things, but no luck!
Could you add one more field?
Hi, i did all like u did but show me error can u help me, this just work if i public?
Here, you didn‘t use isset function. It was not necessary. So, when should we use it?
if isset $_POST [ ' submit ' ]; etecetera...
The isset function is used to check if it is null or not.
is very useful vide,works on mobile and pc. But if the one who fills in the form enters a yahoo mail address no longer receive his answer on gmail . The form works only if he introuduces a gmail address. Can you help us?
I make three files and copy paste all codes of yours and change email address to mine in PHP file, uploaded. However when I check and fill the form and sent. it shows sent confirmation message. However email was not received in inbox or junk folder. Do I need to make some setting in cpanel setting?
u fix it ?
en el mailheader tiene que poner el email de tu dominio web, in cpanel no
i have a website through which i send a mail to the user. the email address through which i am sending the email i want to change this email
Hi, after I click the “send” button it leads me to a page with only the php code and not the html.index
Or does it only work when the website is online
Me too, I am online and when I click Send it leads me to php code
@@YemeniTechnician I think I figured it out, php only works when it’s online
It's working but didn't receive any email on the receiver(email inbox or spam)
I have the same problem here as well. Wonder why it's not working.
Works for me. Except sometimes emails wind up in my junk mail folder
Bro osm🎉
Oh never mind I figured it out. Gmail will not allow it for some reason and in protonmail it is going into the SPAM folder! Why? I don't have the slightest idea, thoughts?
Thanks!
is there a way to prevent it from going to spam?
I get a 405 error even after using the same code and steps. Any thoughts?
Sir can you do a video how to send mail using only xampp with Gmail smtp
Which server are you using
will it work with next js?
Not working in hostgator hosting
thank a lot brother
how can i upload in xampp server?
Thankyou 10000000000000000000000❤️
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\phpchurch\send-message.php on line 22
Error!
How to fix this? :(
HEY even i too got same error.. have u resolved it?
same problem I encounter
@@tintin8186 u have to upload it
I have the same problem 😕
@@PDP777PT i mean you have to host it , offline by xampp or pay it
When i write $mailheader="From" . $name "
Think you are missing a dot between $name and "
Hi there,
I am having an issue with something that I cannot figure out. I have used all your code but am working with a one page website that has the contact form at the bottom of the index.html. After putting it all together and filling out the contact form from my site it does say that the message was sent but I never get the messages. I think it might have something to do with Hostgator and where the file is located and was wondering if you could direct me to the correct place to upload my files? I have sub domains under my main domain as I have the baby package and do I need to put these files in the zip folder into the public_html folder and then extract them there? If so then how will the sub domain of my website access these files? or is it because I am using a one page website? It's very confusing on Hostgators end because they cannot help me, I have tried to call them twice and both times they hung up on me. I had even tried to forward my email from Hostgator but that didn't work either. I have gmail and protonmail and neither email gets the message so it has to be something on the server side.
Please help:>}
If you're hosting your site on vs code using the live server extension the POST method does not work. Once you upload your site to a web host provider such as godaddy and they allow emails to be sent through their service it works perfectly
It's also work mobile device? because some php use conract from work pc but not work mobile device . plz tell me plz please
Yes. It works perfectly fine. I have checked with mobile devices also.
great tutorial sir, for some reason the email lands in the junk folder unfortunately. still thank you very much.
i want contact form with file upload to email
i get error 405 method not allowed how to fix
If you're hosting your site on vs code using the live server extension the POST method does not work. Once you upload your site to a web host provider such as godaddy and they allow emails to be sent through their service it works perfectly
why is this downloading the php file on submission
this usually happens when you don't have a php server
Thank you for the tutorial but it is not working. It is giving die Error! message. I uploaded the same github code into server. Please check.
Thanks in advance
in the mailheader you have to put the email of your web domain
showing error
THANKSSS
I did everything you did. I uploaded it to my own server, but I did not receive any mail in my mailbox. (I know it will come to your spam box)
in the mailheader you have to put the email of your web domain
@@frankgp.python-php I tried both but it didn't work. Do you have a pre-made code file that you can share with me?
Hi, I don't receive any email..
Check your spam folder please.
Attachment 📎 please 😢
Html form action php code not sending form details to mail inbox. Your immediate response is highly appreciated. infinity free host.
how to create account in cpanel
hey Email is sending but data not receive
can you help me
@@muhammadjunaidraza2246 Please download the source code from the github repo. The link is in the description. Then at mail.php change the recipient email address to your email address. You will receive the email. If you cant see it in the main inbox, check your spam folder.
Warning: Failed to connect the mail server, verfy SMTP
thanks
How to install cpanel ??
Hi, How to add CAPTCHA?
Hopefully this will help: www.w3school.info/2016/07/28/create-own-captcha-for-your-website/
I will create a video on that in future.
i am getting 405 erro after clicking send
same
i cant use cpanel, how to do that?
me too
Hi is it safe? from hacking? Thanks alot
spam solution?
not receiving a email
If you're hosting your site on vs code using the live server extension the POST method does not work. Once you upload your site to a web host provider such as godaddy and they allow emails to be sent through their service it works perfectly
where to add password ?
hey your code didn't your it is throwing out this error:
Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\my document\contact.php on line 11
Error
02:21 Ass son😂😂😂
Its not working on server
I get an Error
If you're hosting your site on vs code using the live server extension the POST method does not work. Once you upload your site to a web host provider such as godaddy and they allow emails to be sent through their service it works perfectly
it's not working
works correctly!
I downloaded the code from git and hosted it on my live server but it did not work. can you provide me your live server link and source code that working properly?
@@ohid2010 you have to change the sender, it is the fourth parameter, I have a tutorial that you can see to understand it better ruclips.net/video/IO9vSm-a918/видео.html
only sends like once
you can duplicate the function or create a loop
THNKS but i resolved it
@@sneakycheeky531how you did it please?
all of this is useless if it doesn't have a mail validation code
How?
@@onwuekwemiracle6906 i dont remember exactly why i was needing it for... but i think certain plugins or certains thins like google ad sense or i dont remember which one asks you some layers of security as the validations of the sender email, if it doesnt have it your site could be easly massively spammed with trash mails
This is worthless because mail goes to spam folder
you have to validate your domain so that it does not reach spam
@@frankgp.python-php how?
not working in email googlesuite/googleworkspace :( help me brother