If you getting any error alert like below when you run this on a live host server. There can be multiple reasons for that. If you are running this on a live host, you have to use the necessary settings in your host service. Because the settings of the host services are different from one to another. Read this. "SMTP Error: Could not authenticate." "SMTP Error: Could Not Connect to SMTP Host" If you get these errors when you try on a live host. This might be helpful. In your host > go to cpanel > Email Accounts > Webmail > Configure Mail Client Then you can find Secure SSL/TLS Settings (Recommended). From that settings use settings below. ● Username (Web Email Address) ● Password (Web email Password) ● Outgoing Server Host can be yourdomain.com / mail.yourdomain.com SMTP Port: Can be 465/587 *you can use a Gmail or any email address to receive emails. After you change codings it can be look like below. $mail->isSMTP(); $mail->Host = 'yourdomain.com'; // Can be mail.yourdomain.com $mail->SMTPAuth = true; $mail->Username = 'webmail@domain.com'; // Your host email account which you want to use as SMTP server $mail->Password = 'host email password'; // host email account password $mail->SMTPSecure = 'ssl'; // Can be tls $mail->Port = 465; // Can be 587 $mail->setFrom('webmail@domain.com'); // Your host email account which you used as SMTP server $mail->addAddress('youranyemail@email.com'); // Email Address where you want to receive emails (You can use any other email address to receive emails)
You mean to say, we shud set like this or? please help $mail->isSMTP(); $mail->Host = 'haywire.in'; $mail->SMTPAuth = true; $mail->Username = 'contact@haywire.in'; // Your host email account which you want to use as SMTP server $mail->Password = 'which password? my godaddy password or godaddy mail password? '; $mail->SMTPSecure = 'ssl'; $mail->Port = 465; $mail->setFrom('contact@haywire.in''); // Your host email account which you used as SMTP server $mail->addAddress('contact@haywire.in''); please tell if this is correct? my domain name is www.haywire.in and godaddy mai is contact@haywire.in.. please fill in and send the correct format for my contact form. i have hosted live but have given a different name for demonstration.
@@violet29ify Yes, Set like that. Confirm that you set the correct Secure SSL/TLS Settings in sendemail.php. To confirm, Find Mail Client Manual Settings - Secure SSL/TLS Settings (Recommended). Go to Webmail > Webmail Features > Configure Mail Client. Then you can find your Secure SSL/TLS Settings (Recommended). The settings include Username, Password, Incoming Server, Outgoing Server, SMTP Port. Use those settings. 'which password? my godaddy password or godaddy mail password? ' *It's godaddy mail password. $mail->addAddress('contact@haywire.in''); For this line, you can use your any other email address to receive emails that sending from the contact form.
Hours and hours on end trying to figure out how to do this , til I happened to come across this video and followed through. I have finally achieved what i had been trying to do all along!! THANK YOU !!!
Its now working If Anyone Got Error Like: "SMTP Error: Could not authenticate." "SMTP Error: Could Not Connect to SMTP Host" please turn off your anti-virus its now working for me :DDDDDDDDDDD
Hello, grateful for your videos and all the knowledge you share. I would like to ask you the following question: Is there a way not to change the extension of the index.html file by index.php and in the index.html form "" in action add "sendemail.php" and this will send the alerts when sending the email.
Hi and thank you for the video. I am really interested in this particular process. I am having a couple of issues I tried to download your source code to see what I am doing wrong but I didn't see it among you other source codes. Did you remove it?
Informative video. My Question is can we run this Contact form without entering email password in the coding ? entering the password in the coding seems not safe. please advise.
Thank you so much, this is the only tutorial that worked for me, keep it up, thank you for your hard work. Just one question though, How can we allow anyone to send emails through the contact form as currently, we can only receive the email from the email address set manually in the code.
@@CodingSnow i use this code. Please help to check. when i use in local, it can working. $mail->isSMTP(); $mail->Host = 'boreysonatra.com'; $mail->SMTPAuth = true; $mail->Username = 'chhumratha@boreysonatra.com'; $mail->Password = 'Passwordloginthisemail'; $mail->SMTPSecure = 'ssl'; $mail->Port = '465'; $mail->setFrom('chhumratha@boreysonatra.com'); $mail->addAddress('sonyroth@gmail.com');
what is the window.history.replacestate for in the index.php file at the end in the tags? what is it used for? is it needed? having issues implementing this with local host.
How to fix the problem for not showing the notification when sending? I followed all the codes in the video but can't see the notification when sending. Do I need to change the file format of the index(file) into ".php"? Because I also tried changing it but the system doesn't reload or show the index tab. Can you help me solve this problem?
Everything works fine for me without page reload. How to stop page reload on form submission, I used the script you mentioned but it does not work for me unfortunately.
Dear Sir, I follow your coding and it works in localhost. However, when the contact.php & sendemail.php files are loaded to my website server folder httpdocs, it responds 'http error 500' after run on Chrome browser. Is he server problem ? Could advise the solution. Thanks.
Bro I am making website and want to activate send msg so what's the role of xampp server I didn't understand. If suppose I made a website and people want to send message to me so they have to enable xampp server. I am beginner that's why asking.pls help
Thanks a lot you saved a lot of time for me, it works perfectly. Only one issue, when I want to reload my page it pop up this message "Are you sure you want to send a form again?", any ideas?
mine works with local server, but when i did it in live i get error that says: SMTP error: could not authenticate. can u help me please? im using HostGator
In your host > go to cpanel > Email Accounts > Webmail > Configure Mail Client Then you can find Secure SSL/TLS Settings (Recommended). From that settings use settings below. ● Username (Web Email Address) ● Password (Web email Password) ● Outgoing Server Host can be yourdomain.com / mail.yourdomain.com SMTP Port: Can be 465/587 *you can use a Gmail or any email address to receive emails. After you change codings it can be look like below. $mail->isSMTP(); $mail->Host = 'yourdomain.com'; // Can be mail.yourdomain.com $mail->SMTPAuth = true; $mail->Username = 'webmail@domain.com'; // Your host email account which you want to use as SMTP server $mail->Password = 'host email password'; // host email account password $mail->SMTPSecure = 'ssl'; // Can be tls $mail->Port = 465; // Can be 587 $mail->setFrom('webmail@domain.com'); // Your host email account which you used as SMTP server $mail->addAddress('youranyemail@email.com'); // Email Address where you want to receive emails (You can use any other email address to receive emails)
Hello. If I want to upload the code on an online hosting account, since there is no index.html, rather index.php, I do I go about this? Or should I change the index.php to index.html?
Hey there! If you're going to put this contact form into the index file, the index file needs to be a .php file. Because php codes only works on .php files. Always the page that you're going to put this contact form should be a php file.
Hello, I am getting this syntax error Parse error: syntax error, unexpected"phpmailer/Exception.php"(T_CONSTANT_ENCAPSED_STRING)in C:\xampp\htdocs\contact\sendemail.php on line 3 Can you solve this?
sis put this ' ' this inverted comma not double one :) can you tell me how to solve this problem Parse error: syntax error, unexpected token "/", expecting "," or ";" in C:\xampp\htdocs\Contact\sendemail.php on line 2 please
i am getting this error message "Parse error: syntax error, unexpected '[' in C:\xampp\htdocs\contact1\phpmailer\PHPMailer.php on line 167" can u have a look at it
It's a syntax error from PHPMailer.php file. Try it by replacing the original PHPMailer.php file again or look at that error line 167 on that file and correct it.
Thank you so much for this wonderful work, but I have a problem, when I run the code I have this error : SMTP Error: Could not connect to SMTP host. If someone could help me , i'd be so grateful....thank u in advance
Hello mate, Tutorial was great, But I have been receiving this error/exception "SMTP Error: Could not connect to SMTP host." Please help me with this thingy here
Btw I got it sorted, just had to turn of firewalls and anti virus shields, ty anyways for the tutorial, also buddy is it possible to auto generate a welcome or thank you email to those who subscribe to the newsletter or something?
I have an web template..does not work my contact form submission by using phpmailer..will u do that? Shall i send that file to your mail id .?.what's your mail id sir?
Pls help i got this error when i open the page Parse error: syntax error, unexpected '$mail' (T_VARIABLE) in C:\xampp\htdocs\WebsiteTest\sendEmail.php on line 36
@@sqcred Correct these lines like below and try. line 5 add the extension (.php) require_once 'PHPMailer/PHPMailer.php'; line 34 change single quotation to double quotation $mail->Body = "Naam: $naam Email: $email Datum: $datum Opmerking: $opmerking Vracht: $vracht";
That's because I am including the sendemail.php file in the index.php file. If it is not, you need to specify where to send the form data when a form is submitted in the action attribute like below. action="sendemail.php"
This error is depending on your situation. There can be multiple reasons for this error. Change These coding lines $mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; $mail->Port = '587'; Like this $mail->SMTPSecure = 'ssl'; // Can be tls $mail->Port = 465; // Can be 587 And give it try.
I have a quick question, could someone clear that up? I have a form sitting at the bottom of a landing page, so the question is how does that work, do I need to change this landpage.html into landpage.php, won't this break my code? besides, I am using webpack as my bundler. Thank you so much in advance!
same here. I have index.html perfectly coding with css. Now, there's another index.php, Im getting lost how to combine them together. either 1 of them must go or what? I just created contact.html Now im getting stuck.
Parse error: syntax error, unexpected token "/", expecting "," or ";" in C:\xampp\htdocs\Contact\sendemail.php on line 2 broo this is coming please fix it
Sir I does not know anything about comment system🙅🙅 ... Sir plz make a complete video then I can add comment in my own website🙏 .. I am a new web developer and I am learning such types of complex thing😭😭😭 ...🙏🙏🙏🙏
In the index.php file, you have to include the file path location of sendemail.php I put the index.php and the sendemail.php in the same folder. So I include the sendemail.php file to the index.php like below, If put the sendemail.php in a sub folder or another location you should use the correct file path like below
If you getting any error alert like below when you run this on a live host server. There can be multiple reasons for that. If you are running this on a live host, you have to use the necessary settings in your host service. Because the settings of the host services are different from one to another. Read this.
"SMTP Error: Could not authenticate."
"SMTP Error: Could Not Connect to SMTP Host"
If you get these errors when you try on a live host. This might be helpful.
In your host > go to cpanel > Email Accounts > Webmail > Configure Mail Client
Then you can find Secure SSL/TLS Settings (Recommended).
From that settings use settings below.
● Username (Web Email Address)
● Password (Web email Password)
● Outgoing Server
Host can be yourdomain.com / mail.yourdomain.com
SMTP Port: Can be 465/587
*you can use a Gmail or any email address to receive emails.
After you change codings it can be look like below.
$mail->isSMTP();
$mail->Host = 'yourdomain.com'; // Can be mail.yourdomain.com
$mail->SMTPAuth = true;
$mail->Username = 'webmail@domain.com'; // Your host email account which you want to use as SMTP server
$mail->Password = 'host email password'; // host email account password
$mail->SMTPSecure = 'ssl'; // Can be tls
$mail->Port = 465; // Can be 587
$mail->setFrom('webmail@domain.com'); // Your host email account which you used as SMTP server
$mail->addAddress('youranyemail@email.com'); // Email Address where you want to receive emails (You can use any other email address to receive emails)
You mean to say, we shud set like this or? please help
$mail->isSMTP();
$mail->Host = 'haywire.in';
$mail->SMTPAuth = true;
$mail->Username = 'contact@haywire.in'; // Your host email account which you want to use as SMTP server
$mail->Password = 'which password? my godaddy password or godaddy mail password? ';
$mail->SMTPSecure = 'ssl';
$mail->Port = 465;
$mail->setFrom('contact@haywire.in''); // Your host email account which you used as SMTP server
$mail->addAddress('contact@haywire.in'');
please tell if this is correct? my domain name is www.haywire.in and godaddy mai is contact@haywire.in.. please fill in and send the correct format for my contact form. i have hosted live but have given a different name for demonstration.
@@violet29ify Yes, Set like that.
Confirm that you set the correct Secure SSL/TLS Settings in sendemail.php.
To confirm, Find Mail Client Manual Settings - Secure SSL/TLS Settings (Recommended).
Go to Webmail > Webmail Features > Configure Mail Client. Then you can find your Secure SSL/TLS Settings (Recommended).
The settings include Username, Password, Incoming Server, Outgoing Server, SMTP Port. Use those settings.
'which password? my godaddy password or godaddy mail password? '
*It's godaddy mail password.
$mail->addAddress('contact@haywire.in''); For this line, you can use your any other email address to receive emails that sending from the contact form.
@@CodingSnow what happen if i use freetzi
Coding Snow thanks a lot Man. Its works. After looking around for 3 months
@@jonugroho6492 Glad to hear!! You're most welcome!
Hours and hours on end trying to figure out how to do this , til I happened to come across this video and followed through.
I have finally achieved what i had been trying to do all along!!
THANK YOU !!!
So glad you did it. You're mostly welcome!!
Thank u coding snow 🧡🧡🧡 i am trying to send mail from 1 week but now finally done . Keep doing dude👍👍👍
You're welcome ❤️. Will do.
thank you so much Sir after struggling one week I finally got it
You're most welcome!
oh my god. thanks a lot . days and nights trying to do it. finally thanks to you tousend thanks
I love you brother, I was so pissed cause I wasn't able to add this functionality in my site but you made it possible man.
Thank you🙏🤗
Thanks brother your method is very simple...i finally got it
Php is new to me but i try my best to learnnn!!!❤❤
Thanks to god... what bring me to this video... successfully!
thank u its working, finally I got answer to my prayers thanks to you!!
You're most welcome!
Thanks for the simple method man, worked like a charm!
Thank God, it finally worked for me
Glad it worked! 👍
You,re great person, you helped me a lot
Thanks a lot , it works 100% great
Its now working
If Anyone Got Error Like:
"SMTP Error: Could not authenticate."
"SMTP Error: Could Not Connect to SMTP Host"
please turn off your anti-virus its now working for me :DDDDDDDDDDD
Hello, grateful for your videos and all the knowledge you share. I would like to ask you the following question: Is there a way not to change the extension of the index.html file by index.php and in the index.html form "" in action add "sendemail.php" and this will send the alerts when sending the email.
Perfect...great job..gbu..
Hi and thank you for the video. I am really interested in this particular process. I am having a couple of issues I tried to download your source code to see what I am doing wrong but I didn't see it among you other source codes. Did you remove it?
Informative video. My Question is can we run this Contact form without entering email password in the coding ? entering the password in the coding seems not safe. please advise.
Great video! Was wondering how do you make the alert message disappear after the email is sent?
Thank you so much, this is the only tutorial that worked for me, keep it up, thank you for your hard work. Just one question though, How can we allow anyone to send emails through the contact form as currently, we can only receive the email from the email address set manually in the code.
I got done in the local host, when i upload to my hosting, It's nothing when i click submit and don't get any email.
Please help.
Use your live host webmail to send emails. Read the pinned comment.
@@CodingSnow
i use this code. Please help to check. when i use in local, it can working.
$mail->isSMTP();
$mail->Host = 'boreysonatra.com';
$mail->SMTPAuth = true;
$mail->Username = 'chhumratha@boreysonatra.com';
$mail->Password = 'Passwordloginthisemail';
$mail->SMTPSecure = 'ssl';
$mail->Port = '465';
$mail->setFrom('chhumratha@boreysonatra.com');
$mail->addAddress('sonyroth@gmail.com');
Thank you very much sir. It worked.
You're welcome! ❤️
@@CodingSnow Can you help us how can we include the attachment fields too. I sure there are many who would like to know Thank you in advance sir.
it does not work, exactly same code
I click on submit button and nothing happens : neither error message nor success message
what is the window.history.replacestate for in the index.php file at the end in the tags? what is it used for? is it needed? having issues implementing this with local host.
Sir, it gives me an error "could not connect to SMTP Host" Please assist.
Nice Will try definitely .
Thank you! ❤️❤️❤️
I'm not getting mails after completing all code and process no alert sowing after submitting the form and no mail
Thank You so much for making this video you help me a lot☺☺
You're most welcome! 😊
Message not sent and these things aren't working what does it do?
How to fix the problem for not showing the notification when sending? I followed all the codes in the video but can't see the notification when sending. Do I need to change the file format of the index(file) into ".php"? Because I also tried changing it but the system doesn't reload or show the index tab. Can you help me solve this problem?
Hey sir what application did you use for that php code to run
Everything works fine for me without page reload. How to stop page reload on form submission, I used the script you mentioned but it does not work for me unfortunately.
I am getting this error -- SMTP error could not authenticate -- how can it will be rectify
How to not reload the page? I want that when I click on the submit button the text shows up without reloading the page...
So if I don't have hosting , I can't run this?
it would run only on localhost? @Coding Snow
Dear Sir, I follow your coding and it works in localhost. However, when the contact.php & sendemail.php files are loaded to my website server folder httpdocs, it responds 'http error 500' after run on Chrome browser. Is he server problem ? Could advise the solution. Thanks.
Bro I am making website and want to activate send msg so what's the role of xampp server I didn't understand. If suppose I made a website and people want to send message to me so they have to enable xampp server. I am beginner that's why asking.pls help
Put this one on your website host. If this method didn't work use your webmail to do it. Read the pinned comment in this video.
thanks bro great work 😘😘😘
I done everything bro
If i click on send
It won't show output in Gmail and
Message has been sent
Thanks you Soo Much
Thanks a lot you saved a lot of time for me, it works perfectly. Only one issue, when I want to reload my page it pop up this message "Are you sure you want to send a form again?", any ideas?
mine works with local server, but when i did it in live i get error that says: SMTP error: could not authenticate. can u help me please? im using HostGator
how did u work on local server?
plz tell
In your host > go to cpanel > Email Accounts > Webmail > Configure Mail Client
Then you can find Secure SSL/TLS Settings (Recommended).
From that settings use settings below.
● Username (Web Email Address)
● Password (Web email Password)
● Outgoing Server
Host can be yourdomain.com / mail.yourdomain.com
SMTP Port: Can be 465/587
*you can use a Gmail or any email address to receive emails.
After you change codings it can be look like below.
$mail->isSMTP();
$mail->Host = 'yourdomain.com'; // Can be mail.yourdomain.com
$mail->SMTPAuth = true;
$mail->Username = 'webmail@domain.com'; // Your host email account which you want to use as SMTP server
$mail->Password = 'host email password'; // host email account password
$mail->SMTPSecure = 'ssl'; // Can be tls
$mail->Port = 465; // Can be 587
$mail->setFrom('webmail@domain.com'); // Your host email account which you used as SMTP server
$mail->addAddress('youranyemail@email.com'); // Email Address where you want to receive emails (You can use any other email address to receive emails)
you are legend !!!
THanks alot sir It really work!
Wow Thanks a lot!
Hello. If I want to upload the code on an online hosting account, since there is no index.html, rather index.php, I do I go about this? Or should I change the index.php to index.html?
Hey there! If you're going to put this contact form into the index file, the index file needs to be a .php file. Because php codes only works on .php files. Always the page that you're going to put this contact form should be a php file.
Hello,
I am getting this syntax error
Parse error: syntax error, unexpected"phpmailer/Exception.php"(T_CONSTANT_ENCAPSED_STRING)in C:\xampp\htdocs\contact\sendemail.php on line 3
Can you solve this?
sis put this ' ' this inverted comma not double one :) can you tell me how to solve this problem
Parse error: syntax error, unexpected token "/", expecting "," or ";" in C:\xampp\htdocs\Contact\sendemail.php on line 2 please
thanks you so much man
i am getting this error message "Parse error: syntax error, unexpected '[' in C:\xampp\htdocs\contact1\phpmailer\PHPMailer.php on line 167" can u have a look at it
It's a syntax error from PHPMailer.php file. Try it by replacing the original PHPMailer.php file again or look at that error line 167 on that file and correct it.
Thank you so much for this wonderful work, but I have a problem, when I run the code I have this error : SMTP Error: Could not connect to SMTP host.
If someone could help me , i'd be so grateful....thank u in advance
thanks man it worked
You're welcome!
I can receive maşl without ant error but After submit it I would see notification on html page I could not adap that
when i submitted the message it says that "SMTP Error: Could not connect to SMTP host." how can i fix it?
hmm...
Hello mate, Tutorial was great, But I have been receiving this error/exception "SMTP Error: Could not connect to SMTP host." Please help me with this thingy here
Btw I got it sorted, just had to turn of firewalls and anti virus shields, ty anyways for the tutorial, also buddy is it possible to auto generate a welcome or thank you email to those who subscribe to the newsletter or something?
how to go on host and then cpanel in order to change settings? please help.
I have an web template..does not work my contact form submission by using phpmailer..will u do that? Shall i send that file to your mail id .?.what's your mail id sir?
Okey, send it. Check the channel about section for mail id.
Your mail id send pls
Super🤟🤟💐💐
Thank you! ❤️❤️❤️👍
How can I change the me after ypu received the email?
how to host this in github pages?
and how to make alert msg disappear after some seconds
Extension missing openssl error i getting, how fix..?
Thank you so much brother
You're most welcome brother! ❤️
please help me.................. im getting this error
"SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting"
bro how i can add this contact in my website......please tell
can the php version cause a problem ?
how can i create the db.php ? To put this contact page online
hello, thanks for the video, code runs well but I got a problem in my site can you help me ...is there anyway to contact you
THANK YOU SOOOOO MUTCH!!!
You're most welcome! ❤
Pls help
i got this error when i open the page
Parse error: syntax error, unexpected '$mail' (T_VARIABLE) in C:\xampp\htdocs\WebsiteTest\sendEmail.php on line 36
Can you send me that coding line 36 you wrote.
@@CodingSnow $mail->send();
@@sqcred That line is correct send me your all codings in sendemail.php
@@CodingSnow hastebin.com/agezixucuw.xml
I added a couple of fields
@@sqcred Correct these lines like below and try.
line 5
add the extension (.php)
require_once 'PHPMailer/PHPMailer.php';
line 34
change single quotation to double quotation
$mail->Body = "Naam: $naam Email: $email Datum: $datum Opmerking: $opmerking Vracht: $vracht";
MAIL FROM command failed,Authentication Required. Help :'(
Without php mailor can we send to email address??
Thanks 👍👍👍👍👍👍
i cant find the source code on the website
Thanks, its working
You're welcome! ❤️
I have my professional mail I'm not getting any response
I have to always open this file issit?
SMTP Error: Could not authenticate.
Can someone help me please.?
hi pls help me, i got this error SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Sir the action=" " of your form is empty? Is it correct?
That's because I am including the sendemail.php file in the index.php file. If it is not, you need to specify where to send the form data when a form is submitted in the action attribute like below.
action="sendemail.php"
@@CodingSnow Ty sir! will make the necessary corrections!
dude what happened if "SMTP Error: Could not connect to SMTP host" i am using xampp localhost
This error is depending on your situation. There can be multiple reasons for this error.
Change These coding lines
$mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
$mail->Port = '587';
Like this
$mail->SMTPSecure = 'ssl'; // Can be tls
$mail->Port = 465; // Can be 587
And give it try.
@@CodingSnow ok now "SMTP Error: Could not authenticate." i changed it into ssl and 587
@@CodingSnow i'm using XAMPP local host server
@@jasons7114 Did you turn on the less secure apps in the Gmail account which you use as SMTP server?
@@CodingSnow yep already with the 2 step verification off
Super
Thank you! ❤️
why less secure the Gmail account?
what is the name of the app besides XAMPP
I have a quick question, could someone clear that up? I have a form sitting at the bottom of a landing page, so the question is how does that work, do I need to change this landpage.html into landpage.php, won't this break my code? besides, I am using webpack as my bundler. Thank you so much in advance!
Do you want to run this PHP form on your page? To run this PHP form you have to change the extension to .php
same here. I have index.html perfectly coding with css. Now, there's another index.php, Im getting lost how to combine them together. either 1 of them must go or what? I just created contact.html Now im getting stuck.
Brother its says source code not found
If i have a diferent domain email. Please help me and thanks in advance.
Thanks bro
thanks very helpful !
You're most welcome!
Parse error: syntax error, unexpected token "/", expecting "," or ";" in C:\xampp\htdocs\Contact\sendemail.php on line 2 broo this is coming please fix it
Does this code works using xampp server
how to add style for the email's html tags
Sir please make a video on working php live comment system and it show our email address on sending comment .🙏🙏🙏
Sir please reply soon I have search for it bet all the videos are in English and they are not good and they are very complex to make
@@Lucifer-king Yes, It's a complex one. It can be more complex on the purpose of it's using. Didn't you try a 3rd party commenting system?
Sir I does not know anything about comment system🙅🙅 ... Sir plz make a complete video then I can add comment in my own website🙏 .. I am a new web developer and I am learning such types of complex thing😭😭😭 ...🙏🙏🙏🙏
Hi Im having this error
PHPMailer SMTP Error: Could not connect to SMTP host
Hi. same here did you manage to fix it?
i have a solution to the smtp error cannot connect to the host
It’s showing the requested url isn’t found on this server , 404 not found
Did you give the correct file path to the sendemail.php file?
@@CodingSnow where should I do that sir
In the index.php file, you have to include the file path location of sendemail.php
I put the index.php and the sendemail.php in the same folder.
So I include the sendemail.php file to the index.php like below,
If put the sendemail.php in a sub folder or another location you should use the correct file path like below
@@CodingSnow yes sir I kept everything as you did in the video but still it’s showing an error
I think you missed something. Follow the tutorial again. If you want source files to check it's available on the channel website.
How do I add spam protection
except gmail, Outlook can function with this code?
With this code, Yes you can use any email address to receive emails including outlook. Remember, not to send only to receive.
@@CodingSnow Thanks! It worked for me
@@pohyilim1033 You're welcome!
do we need hosting to run it?
You can also run it on localhost.
@@CodingSnow why my data is blank when inserted?
thanks lot to YOUUUUUUUU!
You're most welcome!
thank you