Contact Page | With Sending Emails PHP - Using PHPMalier - PHP & Javascript

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 300

  • @CodingSnow
    @CodingSnow  4 года назад +14

    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)

    • @violet29ify
      @violet29ify 4 года назад +1

      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.

    • @CodingSnow
      @CodingSnow  4 года назад

      @@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.

    • @jasons7114
      @jasons7114 4 года назад

      @@CodingSnow what happen if i use freetzi

    • @jonugroho6492
      @jonugroho6492 4 года назад +1

      Coding Snow thanks a lot Man. Its works. After looking around for 3 months

    • @CodingSnow
      @CodingSnow  4 года назад +1

      @@jonugroho6492 Glad to hear!! You're most welcome!

  • @celestusnyalugwe7943
    @celestusnyalugwe7943 3 года назад +3

    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 !!!

    • @CodingSnow
      @CodingSnow  3 года назад

      So glad you did it. You're mostly welcome!!

  • @ujjwaljogekar5082
    @ujjwaljogekar5082 3 года назад +4

    Thank u coding snow 🧡🧡🧡 i am trying to send mail from 1 week but now finally done . Keep doing dude👍👍👍

    • @CodingSnow
      @CodingSnow  3 года назад

      You're welcome ❤️. Will do.

  • @mouctechy
    @mouctechy 3 года назад +4

    thank you so much Sir after struggling one week I finally got it

  • @leoniezebaze322
    @leoniezebaze322 Год назад

    oh my god. thanks a lot . days and nights trying to do it. finally thanks to you tousend thanks

  • @nikhilpatidar4714
    @nikhilpatidar4714 3 года назад

    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🙏🤗

  • @sameersalam8404
    @sameersalam8404 3 года назад

    Thanks brother your method is very simple...i finally got it

  • @repalda4736
    @repalda4736 2 года назад

    Php is new to me but i try my best to learnnn!!!❤❤

  • @fadhlurrahman2588
    @fadhlurrahman2588 4 года назад +3

    Thanks to god... what bring me to this video... successfully!

  • @jomarierola9290
    @jomarierola9290 3 года назад

    thank u its working, finally I got answer to my prayers thanks to you!!

  • @ruznisadiq261
    @ruznisadiq261 3 года назад

    Thanks for the simple method man, worked like a charm!

  • @vikramdityaarora696
    @vikramdityaarora696 4 года назад +2

    Thank God, it finally worked for me

  • @najiali651
    @najiali651 2 года назад

    You,re great person, you helped me a lot

  • @FreedGhalib
    @FreedGhalib 3 года назад +1

    Thanks a lot , it works 100% great

  • @waynegaming7753
    @waynegaming7753 3 года назад

    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

  • @proveedorasantafe6828
    @proveedorasantafe6828 8 месяцев назад

    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.

  • @ganeshshinde2548
    @ganeshshinde2548 2 года назад

    Perfect...great job..gbu..

  • @Nakht_IT_Solutions
    @Nakht_IT_Solutions 5 месяцев назад

    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?

  • @monikajadhav9307
    @monikajadhav9307 3 года назад +1

    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.

  • @brendanm6881
    @brendanm6881 3 года назад +2

    Great video! Was wondering how do you make the alert message disappear after the email is sent?

  • @himanigajjar4238
    @himanigajjar4238 2 года назад

    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.

  • @Ratha2018
    @Ratha2018 3 года назад

    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.

    • @CodingSnow
      @CodingSnow  3 года назад

      Use your live host webmail to send emails. Read the pinned comment.

    • @Ratha2018
      @Ratha2018 3 года назад

      @@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');

  • @lonelyplanet5474
    @lonelyplanet5474 3 года назад +1

    Thank you very much sir. It worked.

    • @CodingSnow
      @CodingSnow  3 года назад +1

      You're welcome! ❤️

    • @lonelyplanet5474
      @lonelyplanet5474 3 года назад

      @@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

  • @Daniel_H01
    @Daniel_H01 3 года назад

    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.

  • @alexokeyo4616
    @alexokeyo4616 2 года назад +1

    Sir, it gives me an error "could not connect to SMTP Host" Please assist.

  • @annapurnaful
    @annapurnaful 4 года назад +1

    Nice Will try definitely .

    • @CodingSnow
      @CodingSnow  4 года назад

      Thank you! ❤️❤️❤️

  • @darpanwork3685
    @darpanwork3685 3 года назад

    I'm not getting mails after completing all code and process no alert sowing after submitting the form and no mail

  • @mayurighangare4338
    @mayurighangare4338 3 года назад

    Thank You so much for making this video you help me a lot☺☺

    • @CodingSnow
      @CodingSnow  3 года назад

      You're most welcome! 😊

  • @IamMidoZ
    @IamMidoZ 3 года назад +1

    Message not sent and these things aren't working what does it do?

  • @jerjeromeeeeee_m
    @jerjeromeeeeee_m 3 года назад

    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?

  • @mohammedayaan2214
    @mohammedayaan2214 Год назад

    Hey sir what application did you use for that php code to run

  • @AhmadFoysal
    @AhmadFoysal 3 года назад

    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.

  • @kirthikakirthika1230
    @kirthikakirthika1230 Год назад

    I am getting this error -- SMTP error could not authenticate -- how can it will be rectify

  • @instruktormata7074
    @instruktormata7074 2 года назад

    How to not reload the page? I want that when I click on the submit button the text shows up without reloading the page...

  • @nabeel9867
    @nabeel9867 3 года назад

    So if I don't have hosting , I can't run this?
    it would run only on localhost? @Coding Snow

  • @galaxyg8733
    @galaxyg8733 3 года назад

    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.

  • @btman124
    @btman124 3 года назад

    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

    • @CodingSnow
      @CodingSnow  3 года назад

      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.

  • @YoniTube
    @YoniTube 2 года назад

    thanks bro great work 😘😘😘

  • @venkatkosuri5224
    @venkatkosuri5224 3 года назад

    I done everything bro
    If i click on send
    It won't show output in Gmail and
    Message has been sent

  • @media7588
    @media7588 3 года назад +1

    Thanks you Soo Much

  • @ahmedalkharam
    @ahmedalkharam 3 года назад

    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?

  • @Joseph-yd3sq
    @Joseph-yd3sq 3 года назад

    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

    • @anilpaul7373
      @anilpaul7373 3 года назад

      how did u work on local server?
      plz tell

    • @CodingSnow
      @CodingSnow  3 года назад +1

      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)

  • @studentinusa7117
    @studentinusa7117 3 года назад

    you are legend !!!

  • @razzanindrana1900
    @razzanindrana1900 2 года назад

    THanks alot sir It really work!

  • @amithshantha8837
    @amithshantha8837 3 года назад

    Wow Thanks a lot!

  • @jerryogunbor7768
    @jerryogunbor7768 3 года назад

    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?

    • @CodingSnow
      @CodingSnow  3 года назад

      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.

  • @kavyajtg4607
    @kavyajtg4607 3 года назад

    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?

    • @CrazyopWebsite
      @CrazyopWebsite Год назад

      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

  • @jefersonborras2448
    @jefersonborras2448 2 года назад

    thanks you so much man

  • @saurabhmishra734
    @saurabhmishra734 3 года назад

    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

    • @CodingSnow
      @CodingSnow  3 года назад

      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.

  • @nezhael-asri1253
    @nezhael-asri1253 4 года назад +1

    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

  • @dwayne5001
    @dwayne5001 3 года назад

    thanks man it worked

  • @aliyilbasi8587
    @aliyilbasi8587 3 года назад

    I can receive maşl without ant error but After submit it I would see notification on html page I could not adap that

  • @anxioushowell
    @anxioushowell 3 года назад

    when i submitted the message it says that "SMTP Error: Could not connect to SMTP host." how can i fix it?

  • @rohitprabhu5321
    @rohitprabhu5321 3 года назад

    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

    • @rohitprabhu5321
      @rohitprabhu5321 3 года назад

      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?

  • @bhagwatilalmenaria8355
    @bhagwatilalmenaria8355 3 года назад

    how to go on host and then cpanel in order to change settings? please help.

  • @ezhilarasan3776
    @ezhilarasan3776 4 года назад

    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?

    • @CodingSnow
      @CodingSnow  4 года назад

      Okey, send it. Check the channel about section for mail id.

    • @ezhilarasan3776
      @ezhilarasan3776 4 года назад

      Your mail id send pls

  • @tharinduabishek2505
    @tharinduabishek2505 4 года назад +1

    Super🤟🤟💐💐

    • @CodingSnow
      @CodingSnow  4 года назад

      Thank you! ❤️❤️❤️👍

  • @arofficialtv3727
    @arofficialtv3727 3 года назад

    How can I change the me after ypu received the email?

  • @monishp168
    @monishp168 3 года назад

    how to host this in github pages?
    and how to make alert msg disappear after some seconds

  • @thiyagarajanm4149
    @thiyagarajanm4149 3 года назад

    Extension missing openssl error i getting, how fix..?

  • @MdMasum-mk9ss
    @MdMasum-mk9ss 3 года назад

    Thank you so much brother

    • @CodingSnow
      @CodingSnow  3 года назад

      You're most welcome brother! ❤️

  • @SURIYA-pp4iu
    @SURIYA-pp4iu 3 года назад

    please help me.................. im getting this error
    "SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting"

  • @CrazyopWebsite
    @CrazyopWebsite Год назад

    bro how i can add this contact in my website......please tell

  • @aymansaadi2033
    @aymansaadi2033 2 года назад

    can the php version cause a problem ?

  • @gerardhey4425
    @gerardhey4425 3 года назад

    how can i create the db.php ? To put this contact page online

  • @tehan1359
    @tehan1359 3 года назад

    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

  • @testeusedeveloppeuse1337
    @testeusedeveloppeuse1337 4 года назад +1

    THANK YOU SOOOOO MUTCH!!!

    • @CodingSnow
      @CodingSnow  4 года назад

      You're most welcome! ❤

  • @sqcred
    @sqcred 4 года назад

    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

    • @CodingSnow
      @CodingSnow  4 года назад +1

      Can you send me that coding line 36 you wrote.

    • @sqcred
      @sqcred 4 года назад

      @@CodingSnow $mail->send();

    • @CodingSnow
      @CodingSnow  4 года назад

      @@sqcred That line is correct send me your all codings in sendemail.php

    • @sqcred
      @sqcred 4 года назад

      @@CodingSnow hastebin.com/agezixucuw.xml
      I added a couple of fields

    • @CodingSnow
      @CodingSnow  4 года назад

      @@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";

  • @recdemecsquijouentpasrp
    @recdemecsquijouentpasrp 3 года назад

    MAIL FROM command failed,Authentication Required. Help :'(

  • @ayeshaayesha2946
    @ayeshaayesha2946 3 года назад

    Without php mailor can we send to email address??

  • @MdMasum-mk9ss
    @MdMasum-mk9ss 3 года назад

    Thanks 👍👍👍👍👍👍

  • @kelvinkelvinkelvin3708
    @kelvinkelvinkelvin3708 3 года назад

    i cant find the source code on the website

  • @financeinfolabs818
    @financeinfolabs818 4 года назад

    Thanks, its working

  • @mksbeginnertomaster8690
    @mksbeginnertomaster8690 3 года назад

    I have my professional mail I'm not getting any response

  • @hariganes9603
    @hariganes9603 3 года назад

    I have to always open this file issit?

  • @thutaminthway9672
    @thutaminthway9672 2 года назад

    SMTP Error: Could not authenticate.
    Can someone help me please.?

  • @contactasiatic5004
    @contactasiatic5004 4 года назад

    hi pls help me, i got this error SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

  • @parinsheth4971
    @parinsheth4971 3 года назад

    Sir the action=" " of your form is empty? Is it correct?

    • @CodingSnow
      @CodingSnow  3 года назад +1

      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"

    • @parinsheth4971
      @parinsheth4971 3 года назад

      @@CodingSnow Ty sir! will make the necessary corrections!

  • @jasons7114
    @jasons7114 4 года назад

    dude what happened if "SMTP Error: Could not connect to SMTP host" i am using xampp localhost

    • @CodingSnow
      @CodingSnow  4 года назад

      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.

    • @jasons7114
      @jasons7114 4 года назад

      @@CodingSnow ok now "SMTP Error: Could not authenticate." i changed it into ssl and 587

    • @jasons7114
      @jasons7114 4 года назад

      @@CodingSnow i'm using XAMPP local host server

    • @CodingSnow
      @CodingSnow  4 года назад

      @@jasons7114 Did you turn on the less secure apps in the Gmail account which you use as SMTP server?

    • @jasons7114
      @jasons7114 4 года назад

      @@CodingSnow yep already with the 2 step verification off

  • @youtubehelper227
    @youtubehelper227 4 года назад +1

    Super

  • @rekan_98
    @rekan_98 3 года назад

    why less secure the Gmail account?

  • @chivasael363
    @chivasael363 3 года назад

    what is the name of the app besides XAMPP

  • @wicleicefabiofabio9610
    @wicleicefabiofabio9610 4 года назад

    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!

    • @CodingSnow
      @CodingSnow  4 года назад

      Do you want to run this PHP form on your page? To run this PHP form you have to change the extension to .php

    • @jarmo4596
      @jarmo4596 4 года назад

      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.

  • @TechnoSG
    @TechnoSG 3 года назад

    Brother its says source code not found

  • @rodolfogarcia2011
    @rodolfogarcia2011 3 года назад

    If i have a diferent domain email. Please help me and thanks in advance.

  • @MdMasum-mk9ss
    @MdMasum-mk9ss 3 года назад

    Thanks bro

  • @himy2195
    @himy2195 4 года назад

    thanks very helpful !

  • @CrazyopWebsite
    @CrazyopWebsite Год назад

    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

  • @AllinOne-ly8ng
    @AllinOne-ly8ng 3 года назад

    Does this code works using xampp server

  • @xXNJEEBXx
    @xXNJEEBXx 3 года назад

    how to add style for the email's html tags

  • @Lucifer-king
    @Lucifer-king 4 года назад +1

    Sir please make a video on working php live comment system and it show our email address on sending comment .🙏🙏🙏

    • @Lucifer-king
      @Lucifer-king 4 года назад

      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

    • @CodingSnow
      @CodingSnow  4 года назад +1

      @@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?

    • @Lucifer-king
      @Lucifer-king 4 года назад +1

      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😭😭😭 ...🙏🙏🙏🙏

  • @ultimatelokal7040
    @ultimatelokal7040 3 года назад

    Hi Im having this error
    PHPMailer SMTP Error: Could not connect to SMTP host

  • @olumidemicheal1106
    @olumidemicheal1106 2 года назад

    i have a solution to the smtp error cannot connect to the host

  • @dhanushvarmachekuri3637
    @dhanushvarmachekuri3637 4 года назад

    It’s showing the requested url isn’t found on this server , 404 not found

    • @CodingSnow
      @CodingSnow  4 года назад

      Did you give the correct file path to the sendemail.php file?

    • @dhanushvarmachekuri3637
      @dhanushvarmachekuri3637 4 года назад

      @@CodingSnow where should I do that sir

    • @CodingSnow
      @CodingSnow  4 года назад

      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

    • @dhanushvarmachekuri3637
      @dhanushvarmachekuri3637 4 года назад

      @@CodingSnow yes sir I kept everything as you did in the video but still it’s showing an error

    • @CodingSnow
      @CodingSnow  4 года назад

      I think you missed something. Follow the tutorial again. If you want source files to check it's available on the channel website.

  • @beluga2354
    @beluga2354 2 года назад

    How do I add spam protection

  • @pohyilim1033
    @pohyilim1033 4 года назад

    except gmail, Outlook can function with this code?

    • @CodingSnow
      @CodingSnow  4 года назад +1

      With this code, Yes you can use any email address to receive emails including outlook. Remember, not to send only to receive.

    • @pohyilim1033
      @pohyilim1033 4 года назад +1

      @@CodingSnow Thanks! It worked for me

    • @CodingSnow
      @CodingSnow  4 года назад

      @@pohyilim1033 You're welcome!

  • @alrxn
    @alrxn 4 года назад

    do we need hosting to run it?

    • @CodingSnow
      @CodingSnow  4 года назад

      You can also run it on localhost.

    • @alrxn
      @alrxn 4 года назад

      @@CodingSnow why my data is blank when inserted?

  • @reeone6222
    @reeone6222 3 года назад

    thanks lot to YOUUUUUUUU!

  • @testingdbs1462
    @testingdbs1462 3 года назад

    thank you