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!!
@awaznipi2709 Жыл бұрын
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.
@2fpchuck2 жыл бұрын
Concepts, code, and execution were easy thanks to this tutorial! YOU ARE THE BEST MAN!
@cptobv Жыл бұрын
Indian accent
@pureart94 Жыл бұрын
Thanks for your Help!! I have seen so many Videos that couldnt help me out. But your way works fine and simple! THX!!!
@dpcare14996 ай бұрын
Excellent tutorial with speak is fine. Thanks from bottom of my heart.
@beatriz15982 жыл бұрын
not every hero wears cape THANK YOU
@tomar6662 жыл бұрын
That's exactly what I was looking for!!! Thank you so much!! Awesom stuff. Super simple :)
@frodion3 ай бұрын
Best tutorial for this topic. Thank you very much!
@yazilimci_adam Жыл бұрын
A clean and cool tutorial !
@php-frankgp Жыл бұрын
excellent tutorial, it helped me to make my first contact form ✌
@toma16102 жыл бұрын
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?
@erikdinos1229 Жыл бұрын
thank you for this tutorial! worked like charm!
@KeffelewAssefa Жыл бұрын
Thank you, what type of setting do you use for your VS code?
@skisenvient Жыл бұрын
Great tutorial. Thank you!
@diogofrazao4919 Жыл бұрын
thanks man you helped me a lot. You're a chad
@kalinsexplores5883 Жыл бұрын
Thanks buddy! I've done it!
@smjanet2 жыл бұрын
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 ?
@Miles09 Жыл бұрын
Very informative video. Thanks for the content.
@kelxdlol2 жыл бұрын
Thank you so much!!! It is working all good on my website!!!!!!
@myllerolivio96992 жыл бұрын
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
@MrCoderYt2 жыл бұрын
It doesn't matter. Just make sure that the path of the file is right.
@hassanabu27502 жыл бұрын
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?
@php-frankgp Жыл бұрын
in the mailheader you have to put the email of your web domain
@albedesigns3 ай бұрын
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.
@esasrl3384 Жыл бұрын
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.
@malcflodailyinspiration43792 жыл бұрын
Thanks, it worked fine!👍🙂
@jcoff10002 жыл бұрын
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.
@chome4 Жыл бұрын
Works well. How can I add a list of checkboxes so the email contians a list of items I check?
@kalilfagundes74316 ай бұрын
Thanks!
@wolfenrico Жыл бұрын
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?
@skonfoot40667 ай бұрын
me too , find you a solution ?
@wolfenrico7 ай бұрын
No!@@skonfoot4066
@lorenzofernandez85722 жыл бұрын
Thank you for your video. I was able to make it work on Win 11, but it does NOT work on mobile device, particularly on Android. Could you please verfify the code on mobile devices to see if it can work? Many thanks, and keep up the great work.
@php-frankgp Жыл бұрын
to make it work on mobiles in local mode you have to install a php server
@wie.funktioniert6 ай бұрын
Please show at the beginning what the end product will be so we know if it is the right thing for us.
@lorenzociniglio35912 жыл бұрын
Works for me. Except sometimes emails wind up in my junk mail folder
@musiqbanktv7001 Жыл бұрын
❤thank u boss
@toma16102 жыл бұрын
Here, you didn‘t use isset function. It was not necessary. So, when should we use it? if isset $_POST [ ' submit ' ]; etecetera...
@php-frankgp Жыл бұрын
The isset function is used to check if it is null or not.
@MohamedArafathCanada4 ай бұрын
Sir can you do a video how to send mail using only xampp with Gmail smtp
@silviudragan85112 жыл бұрын
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?
@DetectiveSquarepants Жыл бұрын
I get a 405 error even after using the same code and steps. Any thoughts?
@reallifepubg00039nav Жыл бұрын
Bro osm🎉
@lokesh31286 Жыл бұрын
Can you please provide the video for attaching a file to mail with same contact form
@raqueliatheimpatientgardne81962 жыл бұрын
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?
@erikdinos1229 Жыл бұрын
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!
@php-frankgp Жыл бұрын
Could you add one more field?
@PDP777PT Жыл бұрын
Hello, I am getting the error 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() Can anyone help me pls?
@krishnasingh-ek1ix2 жыл бұрын
thank a lot brother
@salaheddine92512 жыл бұрын
Hi, after I click the “send” button it leads me to a page with only the php code and not the html.index
@salaheddine92512 жыл бұрын
Or does it only work when the website is online
@YemeniTechnician2 жыл бұрын
Me too, I am online and when I click Send it leads me to php code
@salaheddine92512 жыл бұрын
@@YemeniTechnician I think I figured it out, php only works when it’s online
@aauniversal41228 ай бұрын
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
@helaolange2 жыл бұрын
Which server are you using
@shushurel Жыл бұрын
It's working but didn't receive any email on the receiver(email inbox or spam)
@mingming4186Ай бұрын
I have the same problem here as well. Wonder why it's not working.
@anton3997 Жыл бұрын
Thankyou 10000000000000000000000❤️
@saifghanmi93222 жыл бұрын
THANKSSS
@techwithgimhan1743 Жыл бұрын
thanks
@IslamAudioStation2 жыл бұрын
great tutorial sir, for some reason the email lands in the junk folder unfortunately. still thank you very much.
@dr.surendrashah Жыл бұрын
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?
@sneakycheeky531 Жыл бұрын
u fix it ?
@php-frankgp Жыл бұрын
en el mailheader tiene que poner el email de tu dominio web, in cpanel no
@d1hoops9753 жыл бұрын
will it work with next js?
@raqueliatheimpatientgardne81962 жыл бұрын
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:>}
@joy-ov7nj2 жыл бұрын
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
@DeepSingh-of7dl8 ай бұрын
how can i upload in xampp server?
@alltypevideobyakash15722 жыл бұрын
It's also work mobile device? because some php use conract from work pc but not work mobile device . plz tell me plz please
@MrCoderYt2 жыл бұрын
Yes. It works perfectly fine. I have checked with mobile devices also.
@djonsmith4345 Жыл бұрын
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
@php-frankgp Жыл бұрын
in the mailheader you have to put the email of your web domain
@NisanthErakkatt Жыл бұрын
Not working in hostgator hosting
@rrrrrrr20211 ай бұрын
Hi is it safe? from hacking? Thanks alot
@terojsevi8090 Жыл бұрын
Warning: Failed to connect the mail server, verfy SMTP
@sureshmane233 Жыл бұрын
i want contact form with file upload to email
@PoshYoshii62 Жыл бұрын
why is this downloading the php file on submission
@php-frankgp Жыл бұрын
this usually happens when you don't have a php server
@thoufeequeahmed.j36592 жыл бұрын
i get error 405 method not allowed how to fix
@joy-ov7nj2 жыл бұрын
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
@velrajavelraja7663 Жыл бұрын
showing error
@oytunilgar7152 жыл бұрын
When i write $mailheader="From" . $name "
@bbyfeather Жыл бұрын
Think you are missing a dot between $name and "
@gchatterjee70122 жыл бұрын
Html form action php code not sending form details to mail inbox. Your immediate response is highly appreciated. infinity free host.
@jamescarltamayo9432 жыл бұрын
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? :(
@vedamanichilukuri13992 жыл бұрын
HEY even i too got same error.. have u resolved it?
@tintin81862 жыл бұрын
same problem I encounter
@teamtmc73842 жыл бұрын
@@tintin8186 u have to upload it
@paulapeter18462 жыл бұрын
I have the same problem 😕
@PDP777PT Жыл бұрын
@@teamtmc7384 upload what? I am getting the same error
@bkentertainment6402 Жыл бұрын
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)
@php-frankgp Жыл бұрын
in the mailheader you have to put the email of your web domain
@bkentertainment6402 Жыл бұрын
@@php-frankgp I tried both but it didn't work. Do you have a pre-made code file that you can share with me?
@kaweeshaavindu1409 Жыл бұрын
how to create account in cpanel
@thegoat29362 жыл бұрын
How to install cpanel ??
@massphers2 жыл бұрын
02:21 Ass son😂😂😂
@hybrid_twinx2 жыл бұрын
Hi, I don't receive any email..
@MrCoderYt2 жыл бұрын
Check your spam folder please.
@abbaswebguru33522 жыл бұрын
spam solution?
@muhammadjunaidraza22462 жыл бұрын
hey Email is sending but data not receive
@muhammadjunaidraza22462 жыл бұрын
can you help me
@MrCoderYt2 жыл бұрын
@@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.
@awaznipi2709 Жыл бұрын
Attachment 📎 please 😢
@azamwahid2 жыл бұрын
where to add password ?
@dosisinternetharian2 жыл бұрын
i cant use cpanel, how to do that?
@anoziefavour33902 жыл бұрын
me too
@haigoto462 жыл бұрын
Hi, How to add CAPTCHA?
@MrCoderYt2 жыл бұрын
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.
@umangpathakp Жыл бұрын
i am getting 405 erro after clicking send
@SmitPatel-up4xh Жыл бұрын
same
@MiraculousLadybugPhilippines2 жыл бұрын
not receiving a email
@joy-ov7nj2 жыл бұрын
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
@ElEcodelTren Жыл бұрын
all of this is useless if it doesn't have a mail validation code
@onwuekwemiracle69067 ай бұрын
How?
@ElEcodelTren7 ай бұрын
@@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
@shyamsundersingh91152 жыл бұрын
Its not working on server
@oscarmartinlive2 жыл бұрын
I get an Error
@joy-ov7nj2 жыл бұрын
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
@sneakycheeky531 Жыл бұрын
only sends like once
@php-frankgp Жыл бұрын
you can duplicate the function or create a loop
@sneakycheeky531 Жыл бұрын
THNKS but i resolved it
@Indra0T6 ай бұрын
@@sneakycheeky531how you did it please?
@ohid2010 Жыл бұрын
it's not working
@php-frankgp Жыл бұрын
works correctly!
@ohid2010 Жыл бұрын
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?
@php-frankgp Жыл бұрын
@@ohid2010 you have to change the sender, it is the fourth parameter, I have a tutorial that you can see to understand it better kzfaq.info/get/bejne/f7VpqbaeksedYWw.html
@valzu3921 Жыл бұрын
This is worthless because mail goes to spam folder
@php-frankgp Жыл бұрын
you have to validate your domain so that it does not reach spam
@onwuekwemiracle69067 ай бұрын
@@php-frankgp how?
@photon_effect4341 Жыл бұрын
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
@akuarifin Жыл бұрын
not working in email googlesuite/googleworkspace :( help me brother