Easy Way To Send Email From Contact Form Using PHP [Hindi]

Sdílet
Vložit
  • čas přidán 31. 03. 2023
  • How To Send Email Using PHP
    Learn how to send emails from a contact form with ease. In this step-by-step tutorial, we will show you how to easily set up a contact form on your website and configure it to send emails in Hindi.
    Send Email Using PHP From Contact Form [Hindi]
    ______________________
    Links & Recommended Videos:
    PHP Login System Project
    ► • PHP Login System Tutor...
    Professional Contact Us Form Design
    ► • Professional Contact U...
    ______________________
    Follow & Subscribe for Good Luck
    ◼️ Subscribe: @webcodingg
    ◼️ Follow on Instagram: / web.codingg
    ◼️ Web Coding Store: webcoding.myinstamojo.com
    ______________________
    Affiliate Links (my suggestions):-
    My Mic: amzn.to/3YgBRq8
    My Mouse: amzn.to/3mwhMi8
    My Keyboard: amzn.to/3ybytCb
    My Future Combo: amzn.to/3YrxbxE
    Mic Stand: Hand Made (Indian Jugad)
    Pop Filter- Hand Made
    My Airpods: amzn.to/3ZkeQUH
    My Laptop: amzn.to/3yibAwQ
    DISCLAIMER: The links provided in the description may be affiliate links. If you buy anything from these links, then I may get some commission. But bear in mind, you won't be charged even an extra penny. I would be glad if you use these links!
    ______________________
    LIKE. SHARE. COMMENT. SUBSCRIBE
    ❤️ Thank you For Watching❤️
    #webcodingg #webdevelopment #PHPMailer #PHPemail #SMTP #webdevelopment #programmingtutorial #sendingemailwithPHP #sendemail #sendemailusingPHP #emailSMTP #emailPHP #emailsending #PHPemailsending #PHPprogramming
    how to send email using php
    send email using phpmailer
    php send email
    php send mail using smtp
    php send email from localhost
    php send email to gmail
    send email php localhost
    send email php smtp
    send email phpmailer
    send email phpmailer gmail
    how to send eamil from localhost in php
    how to send eamil from localhost and php

Komentáře • 183

  • @webcodingg
    @webcodingg  Před rokem +2

    Download PHPmailer : github.com/PHPMailer/PHPMailer

    • @niitpatole7744
      @niitpatole7744 Před 6 měsíci

      Sirji sweetalert add karke bhi dikhaye is form me

  • @user-qt6ib6zu4m
    @user-qt6ib6zu4m Před rokem

    thanks bro its working

  • @mohammedirteza9624
    @mohammedirteza9624 Před 29 dny

    Thank You So Much For Your Efforts !

  • @prathamesh_vlog6092
    @prathamesh_vlog6092 Před 15 dny

    you doing such a great think ...pls keep doing ... your explanation style was so familiar..so every I thing they get it....

  • @shekharrathore7349
    @shekharrathore7349 Před 9 měsíci +4

    Bahut achha bro😊
    मेनहत से ही सफलता प्राप्त होती है ।

  • @ishratjereen
    @ishratjereen Před 2 měsíci +2

    Thanks a million bro. I had been struggling for 3 days to figure out what was the issue... your explanation helps me to get that. ❤❤❤❤

  • @prathamesh_vlog6092
    @prathamesh_vlog6092 Před 15 dny

    hey hi I am so surprised that much easy way to explain the hard think of send emails through php...it's a so easy to understand...I hope I get that video early so I can implement that...

  • @mr_quresh
    @mr_quresh Před 10 měsíci +2

    Thanks bro keep it up its works!!. Also works for server!😄

  • @bluechipsolutions4860
    @bluechipsolutions4860 Před 2 měsíci +2

    This is perfect man, Thank you

  • @mjhkhan705
    @mjhkhan705 Před 2 dny

    Really Outstanding

  • @arslaniqbal2466
    @arslaniqbal2466 Před 6 měsíci +2

    Thank you very easy and helpful method to send email.

  • @souravsaha4276
    @souravsaha4276 Před 5 měsíci +2

    Great knowledgeable video, it's helping me a lot ❤🎉😊

  • @user-dw9pv4vp6w
    @user-dw9pv4vp6w Před 11 měsíci +2

    great video brother simple and eazy

  • @krishnankavitha2490
    @krishnankavitha2490 Před 2 měsíci +2

    Really helpful.. simple and nice

  • @warnerjohn6530
    @warnerjohn6530 Před 10 měsíci +2

    Bro thanks i was searching the same concept of mail for my website's form and now i got it

  • @knowledgejunction5608
    @knowledgejunction5608 Před 2 měsíci +1

    Thanks for this.. its working 😊

  • @junedjuned-ze3qr
    @junedjuned-ze3qr Před 6 měsíci +2

    Thnks broo its working good job 👍

  • @vitriolgamerz1227
    @vitriolgamerz1227 Před 3 měsíci +2

    It's working

  • @divyasingh5865
    @divyasingh5865 Před 3 měsíci +2

    Well Explained 👏

  • @smartcode3470
    @smartcode3470 Před měsícem

    thank you bro

  • @PurePerfect
    @PurePerfect Před rokem +2

    Keep going bro Tnx

  • @sulmanahmad6943
    @sulmanahmad6943 Před měsícem

    Great 👍

  • @hridoyahmed6939
    @hridoyahmed6939 Před 6 měsíci +2

    Tnx bro. Finallay done after 10 hourse

  • @vitriolgamerz1227
    @vitriolgamerz1227 Před 3 měsíci +2

    Thank you sir ❤

  • @situnsahu.
    @situnsahu. Před 2 měsíci +2

    Bro I can see your hard work

  • @tahmidkhan4778
    @tahmidkhan4778 Před 11 měsíci +2

    Brother thanks a ton

  • @shantanupawar6589
    @shantanupawar6589 Před 3 měsíci +1

    Thank you Sir !

  • @Rishabhchaurasiya-tr2kp

    well done buddy

  • @uttaragawand6512
    @uttaragawand6512 Před 9 měsíci +1

    Thank You so much

  • @user-us2pf7jz8z
    @user-us2pf7jz8z Před 10 měsíci +1

    thanks bro love u

  • @rudranarayanpradhan181
    @rudranarayanpradhan181 Před 4 měsíci +1

    Thanks bro ❤

  • @tranding-zoon
    @tranding-zoon Před 4 měsíci +1

    thanku sir

  • @musicalkhushal6220
    @musicalkhushal6220 Před 11 měsíci +1

    thanx a lot

  • @creativedipanshu
    @creativedipanshu Před 7 měsíci +2

    Amazing

  • @dhruvkumar164
    @dhruvkumar164 Před 7 měsíci +1

    thanks bro

  • @7dreamzsolutions
    @7dreamzsolutions Před 8 měsíci +2

    super

  • @Amit_TDY
    @Amit_TDY Před 4 měsíci +1

    Nice video

  • @mohammadazim2456
    @mohammadazim2456 Před 10 měsíci +1

    Bahut badhiya Bhai aj pura din is type ki video ke liye search Kiya mene nhi Mila but finally at 9pm I got your video and hopefully this will work in my case. Subscribing your channel bro...thank you once again for making such a useful video.

    • @webcodingg
      @webcodingg  Před 10 měsíci

      Thankuu very much brother ❤️ happy to help

  • @iamtherider5705
    @iamtherider5705 Před 2 dny

    apne jaise jaise kiya mane sab kusch sahi se kiya thik thak sab hua......... but jab maine mere domain par upload kiya work nhi kar raha ..... please live server par keya kuch karna parega uski upar ek video bana dijiye please

  • @jodhaniarpit8949
    @jodhaniarpit8949 Před 4 měsíci +1

    It’s work bro I have problems with whenever me open contact form automatically send email and last alerts message always display on give me answer

    • @jodhaniarpit8949
      @jodhaniarpit8949 Před 4 měsíci +1

      Please give me answers

    • @webcodingg
      @webcodingg  Před 3 měsíci

      sorry For late reply, aap jab aap form submit krte hai to after submitting aap form ko rest kre Using JS

  • @naturemindrelaxation6865
    @naturemindrelaxation6865 Před 10 měsíci +1

    sir i have created a website using html css and some javascript. How can i use this contact form on my website ? I have written all the code. Now i have php files. How can i use them?

  • @zx_edits-jh9xh
    @zx_edits-jh9xh Před 4 měsíci +1

    Web development full course basic to advance banavo bhai 🎉

    • @webcodingg
      @webcodingg  Před 3 měsíci

      Bilku aayega, usi bhi work kar rha hu, abhi toda sa bg bss dusre kamome lekin jaldi aayega

  • @learneasily8414
    @learneasily8414 Před rokem +1

    Bro laravel kay bhi projects bnaoo❤

    • @webcodingg
      @webcodingg  Před rokem

      Bhai laravel pr kbhi work ni kiya h

    • @learneasily8414
      @learneasily8414 Před rokem

      @@webcodingg ok bhai thanks❤, aap kaa content bahoot acha hay keep it up...

  • @user-qo6vf1hz8u
    @user-qo6vf1hz8u Před 7 měsíci +1

    sir logo design k lya kon sa app yous krtay hai

  • @atharvag55
    @atharvag55 Před 4 měsíci +1

    got bless you with your favourite girl ! thanx bro

  • @user-wf7qj4mo2t
    @user-wf7qj4mo2t Před 6 měsíci +1

    after changing html to php file not opening
    Not Found
    The requested URL was not found on this server.
    Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 Server at localhost Port 80
    what should i do now?

    • @webcodingg
      @webcodingg  Před 5 měsíci

      agr aap file type change kiya hai to tbhi refresh kiya hoga isi liye ye problem aai hai, apne project ko dubara se run kro run ho jyega ye koi problem nhi hai

  • @SimpRizzz
    @SimpRizzz Před 6 měsíci +1

    Ye sirf Live sever pr kaam karega ??? Agar local server pr check karna hai toh kaise kare ? Please reply sir

    • @webcodingg
      @webcodingg  Před 5 měsíci

      Ye live or local dono server par working hai

    • @SimpRizzz
      @SimpRizzz Před 5 měsíci

      @@webcodingg toh Live pr dalne ke baad koi changes nhi karne honge isme ?

    • @webcodingg
      @webcodingg  Před 5 měsíci +1

      @@SimpRizzz nhai

    • @debasishpatra9484
      @debasishpatra9484 Před 5 měsíci

      GoDaddy ke sever me kam behi kar Raha hey SMTP connection failed bol Raha hey ​@@webcodingg

  • @Mjj588
    @Mjj588 Před 11 měsíci +2

    I did the same and I have sent the mails also near about 25 but now I am not able to send mail what can be the problem I have checked so many times

    • @webcodingg
      @webcodingg  Před 11 měsíci

      Occasionally, the App Password may be deleted from your email account for unknown reasons. To resolve the issue, you can recreate the password and attempt to send an email.

  • @knowledgejunction5608
    @knowledgejunction5608 Před 2 měsíci

    Sir please help me.. its working on local server.. but not working on live server.. m using hostinger domain.. error 500 is coming.. please help me..

  • @dailyvideos9268
    @dailyvideos9268 Před 6 měsíci

    hi i want to integrate my website domain email with this can you please let me know how to integrate cpanel email SMTP into this

    • @webcodingg
      @webcodingg  Před 5 měsíci

      Sorry for late 😞 reply dear. Active nhi tha kuch week se channel par. Apki ye problem solve ho gyi hai ya fir abhi bhi koi help chaiye to muje bta dena brother 👋😊

  • @sahilverma4822
    @sahilverma4822 Před 7 měsíci +2

    I got an error, username and password not accepted, mail could not be sent

    • @webcodingg
      @webcodingg  Před 7 měsíci

      apne code ko ek baar aache se check kro, video se match kro, or php mailer ko connect kro apni email se apna app password creater kro

  • @krupaligolani1932
    @krupaligolani1932 Před 5 měsíci +1

    yeh process live server me bhi work karegi???

  • @naturemindrelaxation6865
    @naturemindrelaxation6865 Před 10 měsíci +1

    can i use this contact form method on my website. is it safe???

    • @webcodingg
      @webcodingg  Před 10 měsíci +1

      Yes it's safe. If you know cms - wordpress also use php mailer

    • @naturemindrelaxation6865
      @naturemindrelaxation6865 Před 10 měsíci

      ​@webcodingg sir i have created a website using html css and some javascript. How can i use this contact form on my website ? I have written all the code. Now i have php files. How can i use them?

  • @shubhamsharma-ks7sl
    @shubhamsharma-ks7sl Před 10 měsíci +1

    I follow all States but email not send send.php working properly message display (Message has been sent)but email not recived

    • @webcodingg
      @webcodingg  Před 10 měsíci

      Gamil se app password again create kro or kisi dusri email par try kro! Kbhi kbhi email spam me bhi chla jata. And sorry for late reply 😞

    • @shubhamsharma-ks7sl
      @shubhamsharma-ks7sl Před 10 měsíci

      @@webcodingg it's working properly, App password wrong tha mera maine correct kar diya hai
      And Thank you so much for this video

  • @user-qd9nb2ww8o
    @user-qd9nb2ww8o Před 11 měsíci +1

    Bhai Hum es method se kisi ke bhi email se hum kisi ko bhi mail kar sakte h na

    • @webcodingg
      @webcodingg  Před 11 měsíci

      Yes, lekin is tra se q email kro ge aap? Mtlb bhai tumhara project kya h?

  • @akshatakathore626
    @akshatakathore626 Před rokem +1

    It's work on live server or not?

  • @aditiparmar4931
    @aditiparmar4931 Před 11 měsíci +1

    how to set this up if we are using .net emails and not gmail

    • @webcodingg
      @webcodingg  Před 11 měsíci +2

      Bhai .net emails pe to try ni Kiya kbhi. Lekin aap gamil ke sare e-mails ko forward ⏩ kr sakte h. Net email par or reply bhi .net email se hi krr sakte hai

  • @spaksinfotech1524
    @spaksinfotech1524 Před 11 měsíci +1

    hi, it's working,but whenever I refresh the page it's automatically sending previous message

    • @webcodingg
      @webcodingg  Před 10 měsíci

      Js ka use kro. After submitting form to usme form reset kra do ye problem solve ho jayegi

    • @roshangupta5803
      @roshangupta5803 Před 9 měsíci

      redirect kara do dusre page pr

  • @lovnishverma
    @lovnishverma Před rokem +4

    its working on localhost but not on live server

    • @webcodingg
      @webcodingg  Před rokem

      No, it also works 100% on live server. Brother if you know about WordPress! WordPress also uses Phpmailer to send e-mails

    • @adamebert9753
      @adamebert9753 Před 6 měsíci

      @@webcodingg No, it didnt workout for me as well on live server.
      Error Message is:
      Message could not be sent. Mailer Error: SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error. Failed to connect to server SMTP code: 101 Additional SMTP info: Network is unreachable.
      Really appreciate your work and ready to hear back soon from you, OR
      Can you make a video in the case of live server?

  • @user-yq6yq8tq1u
    @user-yq6yq8tq1u Před 11 měsíci +1

    bro smtp ka issue ara haa localhost site pa

    • @webcodingg
      @webcodingg  Před 11 měsíci

      Error bto kya aa rha hai bhai. Maybe apne shi se connection ni kiya. Please watch video again

  • @seeniameenullah195
    @seeniameenullah195 Před rokem +1

    bro i got this error
    2023-07-06 07:33:05 SMTP ERROR: Failed to connect to server: (0)
    SMTP Error: Could not connect to SMTP host. Failed to connect to server
    Message could not be sent. Mailer Error: SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server

    • @webcodingg
      @webcodingg  Před rokem

      SMTP shi se connect nhi huwa Bhai apka. Please video pura dekhe bhai

    • @akshatakathore626
      @akshatakathore626 Před 11 měsíci

      password wala dekho last mai. app password create krke dalna hai

  • @user-of7mb3lk3v
    @user-of7mb3lk3v Před 11 měsíci +1

    SMTP Error: Could not authenticate. getting this error

    • @webcodingg
      @webcodingg  Před 10 měsíci

      SMTP ko shi se connect kro. Gamil se app password bna lena dubara

  • @Mjj588
    @Mjj588 Před 11 měsíci +1

    Password command failed.Username and password cannot acceped .learn more
    SMTP error could not authenticate.
    I have generated the app password and pasted in code.
    What should I do now ?

    • @webcodingg
      @webcodingg  Před 11 měsíci

      Please check code again. Otherwise send me the your file to my email. I will check!

    • @Mjj588
      @Mjj588 Před 11 měsíci

      Ok thanks the problem is solved now.

  • @Mrmuzammil802
    @Mrmuzammil802 Před 10 měsíci +1

    bro localhost ka bary ma si btao

    • @webcodingg
      @webcodingg  Před 10 měsíci

      Bato bhai kya jaanna h localhost ke bare maine

    • @Mrmuzammil802
      @Mrmuzammil802 Před 10 měsíci

      wo main dekhi li thi phr video kahi or sy thanks bro or meri baty dil pa na lana
      🥰 @@webcodingg

  • @megaminds8903
    @megaminds8903 Před 5 měsíci

    Kuch work nahi kar rahia bhi ya to bta do ke email server sa attached hone chaiya webhosting ke email chaiya iska liya

    • @webcodingg
      @webcodingg  Před 5 měsíci

      Bhai aap please video skip kar ke mtt dekho. Video ke sabhi steps ko follow kro. Jo aap bta rhe hai isme email host se attache nhi krna hota hai. Gamil ke account settings me jake app password create kr ke phpmailer se connect krna hota hai. Tab jake work krti hai. Ek baar firse video dekho. Fir bhi koi problem aati hai me hu apki help krne ke liye don't worr brother 👍

  • @Nikhil12362
    @Nikhil12362 Před rokem

    I want set email in my project do you help me

    • @webcodingg
      @webcodingg  Před rokem

      Project ka name kya hai apke? Help kr sakta hu lekin abhi toda bg chal rha hu. Lekin muje bto me dekhta hu okay

    • @Nikhil12362
      @Nikhil12362 Před rokem

      czcams.com/video/P9V4LUvLNmA/video.html this is my project i want to set email after submitting complaint

  • @arunabhdubey5301
    @arunabhdubey5301 Před 7 měsíci

    getting error 500 when i try to run send.php after i upload it to cpanel.

    • @webcodingg
      @webcodingg  Před 7 měsíci

      apna ek baar aache se code check kro, or kbhi kbhi xampp bhi problem krr deta usko dekho

  • @sayanmukherjee6195
    @sayanmukherjee6195 Před rokem +1

    Bro ye php code to kamm kr raha h but jb php code ko html page me paste kr rahe to kam nhi kr raha h ky kre

    • @webcodingg
      @webcodingg  Před rokem

      Bhai php code HTML file me work nhi karega, HTML
      Ko ham php me use kr sakte h

    • @webcodingg
      @webcodingg  Před rokem

      Form ke opening tag me Action = "php-file.php" ye attribute add krr do or action me apni php ki file link krr dena

    • @sayanmukherjee6195
      @sayanmukherjee6195 Před rokem +1

      Ok bro kr ke dekte h

    • @sayanmukherjee6195
      @sayanmukherjee6195 Před rokem +1

      Bhai appka video hm pura follow kiye but phir bhi nhi ho raha h

    • @sayanmukherjee6195
      @sayanmukherjee6195 Před rokem +1

      Thora bata do Bhai hm begginer h ye sb me
      Ek easy way bata do

  • @nellurichaitanya9620
    @nellurichaitanya9620 Před rokem +2

    Bro can you send the working project in google drive and send the link?
    can you help?

  • @user-qo6vf1hz8u
    @user-qo6vf1hz8u Před 7 měsíci +1

    sir ap pasword k bary may btain or link bhi send kr dayn

    • @webcodingg
      @webcodingg  Před 7 měsíci

      Okay jaldi explain karunga abhi kuch time available nhi hu channel par 🥺😔

  • @AmanJha-kq5in
    @AmanJha-kq5in Před měsícem

    Warning: Module "openssl" is already loaded in Unknown on line 0

  • @ashishchotani2458
    @ashishchotani2458 Před 11 měsíci +1

    How do we set password?

    • @webcodingg
      @webcodingg  Před 11 měsíci

      Please follow video btya hai usme brother

  • @ashutoshrai2717
    @ashutoshrai2717 Před 6 měsíci

    But index.html ko index.php kyu karenge phir agar production level pr kaaam kr rhe ho to index.html ki file hona jaruri h

    • @webcodingg
      @webcodingg  Před 6 měsíci

      Isse itna fark nhi padta hai baat same hi hai. Agr ham index.html file ka use krte to fir alg se php ki file banani pdti so is liye ek hi file me kaam ho gya apna

    • @webcodingg
      @webcodingg  Před 6 měsíci

      Php ki file me ham htm likh sakte hai lekin .html ki file me php nhi likh sakte!!

  • @Allfun8221
    @Allfun8221 Před 8 měsíci +1

    link create nahi ho raha

    • @webcodingg
      @webcodingg  Před 8 měsíci

      Konsa link create nhi ho rha h?

  • @Lucky_Yaduvanshi_Official
    @Lucky_Yaduvanshi_Official Před 11 měsíci +1

    This page is not Working
    Kya aap cheak kar sakta ho mera code

  • @rohandutt9135
    @rohandutt9135 Před 2 měsíci

    Bro fatal error and warning show

  • @petsgarden1066
    @petsgarden1066 Před 10 dny

    Bhai mene try kiya same par nhi work kr rha 😢😢

  • @skstars7259
    @skstars7259 Před 11 měsíci +1

    great

  • @aqilkhalilahmed6662
    @aqilkhalilahmed6662 Před 11 dny

    Binod

  • @pratikpatil1555
    @pratikpatil1555 Před 2 měsíci

    Password kaise generate karte hai nahi bataya

    • @webcodingg
      @webcodingg  Před 2 měsíci +1

      Bhai video complete dekho ge to mil jayega, skip kar ke mt dekho sab bataya h video me

    • @pratikpatil1555
      @pratikpatil1555 Před 2 měsíci

      ​@@webcodingg Got it bro thank you

    • @webcodingg
      @webcodingg  Před 2 měsíci

      Always welcome dear

  • @Mrmuzammil802
    @Mrmuzammil802 Před 10 měsíci +1

    not working
    😕😕

    • @webcodingg
      @webcodingg  Před 10 měsíci

      Error check kro bhai esa nhai ho sakta ye work na kre.

    • @Mrmuzammil802
      @Mrmuzammil802 Před 10 měsíci

      ni bhai ho gy tha thek buss apna uder 'email' or sab ek coma lagy hua tha lagna 2 tha buss yahi err aaa rhy tha @@webcodingg

  • @RANA-iw9bd
    @RANA-iw9bd Před rokem +2

    Brother isme code refresh krte hi run ho jata h ...
    Or mail blank send ho jati h ....
    Kvl oage ko refresh bkrte hi mail blank send ho jari

  • @user-fw2nr7xm9d
    @user-fw2nr7xm9d Před 10 měsíci +1

    Duddeeeeee Thankssss a lot man.
    Its working 💯💯💯.

    • @webcodingg
      @webcodingg  Před 10 měsíci

      You're welcome! And u r awesome 😎

  • @CONTENT_ZONE_3
    @CONTENT_ZONE_3 Před rokem +1

    Fatal error: Uncaught Error: Class 'PhpMailer\PHPMailer' not found in C:\xampp\htdocs\SatishHtml\send.php:14 Stack trace: #0 {main} thrown in C:\xampp\htdocs\SatishHtml\send.php on line 14
    $mail = new PHPMailer(true); >> line 14

    • @webcodingg
      @webcodingg  Před rokem

      Bhai code dhiyan se likho 13 or 14 line number check video ke code se match kro thik ho jyega

  • @aqilkhalilahmed6662
    @aqilkhalilahmed6662 Před 11 dny

    Binod

  • @aqilkhalilahmed6662
    @aqilkhalilahmed6662 Před 11 dny

    Binod

  • @aqilkhalilahmed6662
    @aqilkhalilahmed6662 Před 11 dny

    Binod