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

Sdílet
Vložit
  • čas přidán 17. 07. 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.io/hostingdomain
    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.com/php/how-to-...
    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.com/qa
    or other videos by Techno Smarter...Subscribe below links!!
    Facebook
    / technosmarter
    Instagram
    / technosmarter
    Twitter
    / technosmarter
    CZcams 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 .

Komentáře • 68

  • @harshwebdeveloper
    @harshwebdeveloper Před rokem +5

    keep making such useful videos

  • @harshwebdeveloper
    @harshwebdeveloper Před rokem +6

    Thanks bro, this video helped me a lot💯🔥

  • @codeprac2299
    @codeprac2299 Před rokem +1

    working.

  • @rinku2004ful
    @rinku2004ful Před rokem +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

  • @aman_xsa
    @aman_xsa Před 2 lety +1

    Can i add multiple input tags ??

  • @mdjabedbhuiyan
    @mdjabedbhuiyan Před rokem

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

  • @montynatasha4125
    @montynatasha4125 Před rokem

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

  • @user-mv8lj3rh7n
    @user-mv8lj3rh7n Před rokem +2

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

  • @user-wm7du2yv8m

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

  • @rudrakshmaheshwari9615

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

  • @intransnews8282
    @intransnews8282 Před rokem

    do we have to use composer for hosting?

  • @user-qc3nn8dq2k
    @user-qc3nn8dq2k Před rokem +1

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

  • @rinku2004ful
    @rinku2004ful Před rokem +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,

  • @Blog-ken
    @Blog-ken Před rokem +2

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

  • @RajdeepDas-rr6ji
    @RajdeepDas-rr6ji Před rokem

    Vaiya url load ho raha he sirf

  • @Blog-ken
    @Blog-ken Před rokem +1

    Please aap isme check kar sakte ho kya

  • @itsnizami3631
    @itsnizami3631 Před rokem +1

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

  • @rinku2004ful
    @rinku2004ful Před rokem

    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

  • @rukhsarshaikh2661
    @rukhsarshaikh2661 Před rokem

    Still didn't receive email