Это видео недоступно.
Сожалеем об этом.

How to send email using PHP Mailer and host SMTP | PHPMailer Integration in PHP website | Hosting

Поделиться
HTML-код
  • Опубликовано: 17 июл 2022
  • In this tutorial, we will send email using PHPMailer and host SMTP on the PHP website. Integrate the PHP Mailer library into your website and send emails using HTML form. In this tutorial, we will download the PHPMailer library and install the composer as well as we will create a form to send single and multiple emails using PHP.
    Get the Best Hosting and domain from here -
    bluehost.sjv.i...
    PHPMailer is one of the best code library which is a very secure library for email systems for PHP websites. PHPMailer is used to email sending by SMTP. In this PHP tutorial, we will use SMTP Hosting to integrate PHPMailer into our website. As you know, PHPMailer is very difficult to integrate for beginners but in this video tutorial, you will watch complete steps to download PHPMailer, install composer on the local computer and install composer by command line after that we will create an email sender form to send single and multiple emails by PHPMailer.
    Source for this tutorial -
    technosmarter....
    If you getting these errors-
    Warning: require(vendor/autoload.php): failed to open stream: No such file or directory
    Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='C:xamppphpPEAR')
    Or command line error -
    'composer' is not recognized as an internal or external command,
    operable program or batch file.
    In this video, you will get a complete solution.
    How to integrate PHPMailer into the PHP website?
    PHPMailer itegration process is very easy.
    Follow these steps to integrate PHPMailer -
    1. Download PHPMailer from Github.
    2. Install composer. If the composer is not available on your computer then download the composer from the getcomposer website .
    3. Run command line . run cmd
    4. Run command
    cd c:\
    Now you are in c drive.
    cd xampp\htdocs\smtp
    Here, smtp is a project folder name. You can set your project folder where the PHPMailer library is available.
    Now, run a command to install the composer
    composer require phpmailer/phpmailer
    5. Upload source on your hosting server by cpanel.
    6. Create email by Cpanel from email accounts.
    7. Check host details and use in PHPMailer simple example.
    To integrate PHP Mailer with Hosting SMTP , watch complete video tutorial.
    Website
    technosmarter.com
    For any question , use our Techno Smarter QA platform.
    Ask a Question
    technosmarter.c...
    or other videos by Techno Smarter...Subscribe below links!!
    Facebook
    / technosmarter
    Instagram
    / technosmarter
    Twitter
    / technosmarter
    RUclips Channel
    / technosmarter
    #technosmarter #phpmailer #smtp #smtphosting #hostingsmtp #cpanel #php #website #email #emailmarketing #liveserver #emailaccount #mailer #composer #installation #host #posrt #security #ssl #tls #username #password #getcomposer #github #mail #hosting
    My Setup
    Cameras
    amzn.to/3srDxjn
    amzn.to/3srDxjn
    Office Chair
    amzn.to/3sq7NLA
    Office Table
    amzn.to/3sq7NLA
    Mics
    amzn.to/3wgQgGS
    amzn.to/3vWPEar
    Laptop / PC
    amzn.to/3wBBta3
    Reference -
    1. How to send email using PHPMailer and Host SMTP .
    2. Send multiple emails using PHPMailer
    3.Email sending using PHP Mailer library and SMTP.
    4. Send email using HTML form in PHP .
    5. Send multiple emails using PHPMailer and Host SMTP.
    6.What is the secure method to send emails in PHP.
    7. Integrate PHPMailer on PHP website.
    8. PHPMailer configuration by Host , tls , 587,465,secure,username ,password from email and to email .

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

  • @harshwebdeveloper
    @harshwebdeveloper Год назад +6

    Thanks bro, this video helped me a lot💯🔥

  • @harshwebdeveloper
    @harshwebdeveloper Год назад +5

    keep making such useful videos

  • @user-wm7du2yv8m
    @user-wm7du2yv8m 5 месяцев назад

    While installing composer i have error like git was not found in your path

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

      Set your path or use without composer with second method

  • @user-mv8lj3rh7n
    @user-mv8lj3rh7n Год назад +2

    Hi bro i have one problem on mail sending in my website, after form filling i didn't receiving email

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

      Kindly check smtp credentials. You can enable Debug in smtp code to check errors. ✔️

    • @user-mv8lj3rh7n
      @user-mv8lj3rh7n Год назад

      all the details are show to enable the debug but email is not coming

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

      Check your hosting and once talk to your hosting provider if SMTP is enable or not or not available.

  • @rinku2004ful
    @rinku2004ful Год назад +1

    Hello sir, mujhe ek chij puchna tha, mera school management ka software hai, usme email setting me do options hai smtp aur sendmail, lekin mujhe samajh ye nahi aa rha h ki mai apki batai huyi script ko kese apne cpanel me rkhu

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

      Ok kindly check your initially pricess from where to starts . Jahan se bhi email send krni hain vahan par script ka ise kar sakte hain aap ye depend krta aapke uper ki kis file se data send krna hain and kab krna hain.

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

    Can i add multiple input tags ??

  • @user-qc3nn8dq2k
    @user-qc3nn8dq2k Год назад +1

    How to send email using PHP Mailer and host SMTP hosted on hostinger

  • @codeprac2299
    @codeprac2299 Год назад +1

    working.

  • @rudrakshmaheshwari9615
    @rudrakshmaheshwari9615 6 месяцев назад

    what if i have professional email how do i generate app password in webmail?

    • @TechnoSmarter
      @TechnoSmarter  6 месяцев назад

      Find SMTP credentials and use login password.

  • @rinku2004ful
    @rinku2004ful Год назад +1

    Mere software me jo email setting k options hai uske whi parameter hai jo apne bataye hai, lekin wo work ni kr rha h, mai apne hosting mail ka use kr rha hu,

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

      May be your smtp is not working.
      May be your host details are incorrect.
      So aapko ache se check krna h ki aapki hosting par smtp enable to h ki nhi aap mail send kr sakte hain ki nhi agar enable ni h to kra lijiye .
      Dusra proper correct host details aapko dene hain ok ..

    • @rinku2004ful
      @rinku2004ful Год назад +1

      Sir mai godaddy ki hosting use kr rha hu, aur unhone smtp enable kar dia hai, unse bat huyi thi to wo bol rhe the ki, mujhe ek script upload krni hogi tbhi mail ho payega

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

      @@TechnoSmarter aur sir jaise aap mail ki body likh k mail kr rhe ho, mujhe wesa software me ni krna hota hai, bas kisi ne forget password option use kia to automatically uske mail pr chala jayega

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

      Yes . You can send your reset password form link in the message body .

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

    How to use gmail id in this php mailer? If i have gmail id from google suit so how can i use??

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

      You will need to use Google api for gmail smtp . It will different method .

  • @Blog-ken
    @Blog-ken 2 года назад +2

    bhai yarr pls help kar do mail nhi send ho raha hai live par

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

      Kya aapne correct host details di hai. ?
      Aapka hosting provider kon hai?
      Aapki hosting par SMTP enable hai. Ki nhi ?
      Kindly give these details.

    • @Blog-ken
      @Blog-ken 2 года назад +1

      Recipient ko mail ja raha hai par admin ko nhi ja raha hai

    • @Blog-ken
      @Blog-ken 2 года назад

      Local par proper work kar raha hai

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

      Recipient vo hota hai jisko mail jaye ab aap proper jo bhi sahi email id doge to email mein to usper hi jayega ab chahe aap admin ki I'd do ya kisi ki bhi I'd do mail usi par jayega. Aapko to email mein email is set krni hain bus .

  • @Blog-ken
    @Blog-ken 2 года назад +1

    Please aap isme check kar sakte ho kya

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

      Kisme ?

    • @Blog-ken
      @Blog-ken 2 года назад

      @@TechnoSmarter phpmailer ka code comment box me send Kiya hai aapko usme check kar sakte hai kya aap

    • @Blog-ken
      @Blog-ken 2 года назад

      @@TechnoSmarter

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

      Not received any code in the comment. You can post your question on our QA forum. You will get the answer there.
      technosmarter.com/qa/
      How to ask?
      Please check previous questions before posting. You will get an idea about it.
      technosmarter.com/qa/questions/php
      You can post any question here.

    • @Blog-ken
      @Blog-ken 2 года назад +1

      @@TechnoSmarter Ho gya hai wo aapki video ne bahut help ki hai bhai, Thankyou!

  • @itsnizami3631
    @itsnizami3631 Год назад +1

    service unavailable aa raha h send krne par please help me bro

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

      Are you testing on live server?

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

      @@TechnoSmarter yes bro but not send please help me

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

      Enable Debug and check errors .
      Also check if SMTP is enabled or not in your hosting.
      Provide correct web email and password of your same domain.

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

      @@TechnoSmarter send me your contact number dear please

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

      @@TechnoSmarter mene kafi bar implement karliya bhai but mail send nhi ho pa rahi please help me bhai

  • @RajdeepDas-rr6ji
    @RajdeepDas-rr6ji Год назад

    Vaiya url load ho raha he sirf

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

      Check your internet connection or path .

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

    If create a tutorial. How to send multiple sms in php from localhost. Thanks.

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

    do we have to use composer for hosting?

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

    Aur main bat ye ki aap video me mail ki body likh rhe hai, jabki mere software alert mail automatically send krta hai, body predefined hai

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

      Ye just parameter hain aap ise kr sakte hain direct .

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

      @@TechnoSmarter mtlb aap keh rhe h ki apne jo script batai h use agar mai apne Live Server pr daal deta hu aur use u hi rhme deta hu to mera software mail send krne lagega

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

      @@TechnoSmarter jese forget password ka use koi user mere site pr krta hai to wo password recovery mail use mil jayega

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

      @@TechnoSmarter sir apka whatsap no mil skta h taki mai apko screen shot bhej sku

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

      Forget password m message body m reset password form ki ki and ek token jata php mailer ke dwara .
      Forget password in php
      technosmarter.com/php/forgot-password-and-password-reset-form-in-php

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

    Still didn't receive email

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

      Kindly check your log errors . Enable debug also enable log.
      Reasons -
      1. Wrong SMTP credentials .
      2. SMTP disabled .
      3. Same email with same subject and content many times .
      4. SMTP is not available on your hosting .
      Please check all of these .

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

      @@TechnoSmarter Can you check my code?

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

      Kindly share your log errors or code errors.

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

      @@TechnoSmarter where should i share

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

      You can share on fb page .
      Link in description .