Send Emails with PHP & Gmail

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

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

  • @ericmeehan298
    @ericmeehan298 5 лет назад +131

    For those looking for the autoload file, go to the branch selector on the left side of the download bar and choose 5.2-stable instead of master.

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

    THANK YOU! Was stuck on this for ages. It doesn't work with the latest version of phpmailer but I downloaded a release from when this vid was made in 2017 and it seems to be working okay.

  • @jawherjawa555
    @jawherjawa555 5 лет назад +1

    it works thnx a lot .
    Put the files in the same folder. Then instead of doing what he does do this:
    use PHPMailer\PHPMailer\PHPMailer;
    use PHPMailer\PHPMailer\Exception;
    require './PHPMailer/src/Exception.php';
    require './PHPMailer/src/PHPMailer.php';
    require './PHPMailer/src/SMTP.php';
    and
    For those whose email is not being sent do these two steps:
    1. Go to 'My Account' in Google (Not gmail account), then in Sign in & Security, enable 'Allow less secure apps'

  • @josepenasanchez1491
    @josepenasanchez1491 5 лет назад +1

    This is cool and all, but my worry is hard-coding your password onto the source code. I know it's php, so users on the client-side won't be able to see but, but is there still some security issues? Normal users won't be able to see it, but would a hacker be able to look at your php source code, and therefore your login information? If so, what can we do to input our long-in credentials, but without hard-coding them into our code?

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

    Doesnt work. Outdated, or am I missing something?
    Had to download the autoload file seperately, and change an outdated function inside of it called '__autoload' to 'spl_autoload_register' to remove an error message.
    Also downloaded some of the other class.php-files missing from the package (not sure if they mattered). I got to remove all the error messages while running the index.php-file, but no mail got sent.. username and pw are of course correct, but is there something else to worry about?

    • @shawngrant9488
      @shawngrant9488 3 месяца назад

      Did you ever resolve this issue? I'm having this issue now too. Did exactly everything you did too

    • @laaarsn
      @laaarsn 3 месяца назад

      @@shawngrant9488I did manage to make it work after a while, and if I remember correctly I had to configure my gmail account to make it work with php. I think theres a tutorial for that, too. :)

  • @CoolDownMati
    @CoolDownMati 6 лет назад +4

    Guys you have to go to the releases in the github page, and then search for the 5.2.22 version, the one released Jan 9 2017. Hope you found it!

    • @camilibarra1581
      @camilibarra1581 6 лет назад +2

      github.com/PHPMailer/PHPMailer/tree/5.2-stable

  • @-C-ARBHARADWAJ
    @-C-ARBHARADWAJ 2 года назад

    If we send many mails ,we must pay to for that?

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

    Didn't work initially, then changed ssl to tsl1.3 and port to 587, works perfectly now

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

    tks dude!! April 2020 STILL WORKING !.. VERY THANKS

  • @anishpereira9646
    @anishpereira9646 7 лет назад +14

    For those whose email is not being sent do these two steps:
    1. Go to 'My Account' in Google (Not gmail account), then in Sign in & Security, enable 'Allow less secure apps'
    2. Disable your antivirus

  • @alpaka1337
    @alpaka1337 6 лет назад +6

    for anyone who can't find PHPMailerAutoload.php file, you need to download the older version which has the same files like in the video, don't thank me :) github.com/PHPMailer/PHPMailer/archive/v5.2.25.zip

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

    Do we need an SSL certificate on SMTP secure?

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

    Fatal error: require_once(): Failed opening required 'PHPMailer/PHPMailerAutoLoad.php' (include_path='C:\xampp\php\PEAR')
    i have this kinda error pls help

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

      I had this when I downloaded a later version of phpmailer than the one used in this video. I downloaded a version from 2017 and worked all good. Did you manage to figure out how to get the later version to work?

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

    TQ very much.. fast and simple and most importantly work perfectly!!

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

    In my laptop, code runs without any error but when I check my account it displays that no email sent.what could be the problem?

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

      Go to google security setting.. On less secure app access,.. It will be off if not used for a certain time , just for security resons..

  • @ahmadalghadban1072
    @ahmadalghadban1072 5 лет назад +4

    the PHPMailer function is not found becouse the package is updated
    any one know what the new function's name ?

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

    I don't even use it for gmail but it's still helpful for my needs thank you!

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

    help please, I'm still a beginner in HTML, CSS, JS, jQuery, let alone PHP. I don't really understand how I can access the localhost/tutorials/gmail-send/ because it wasn't show in the video.. please help

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

    Absolute gold, thank you

  • @Parcha24
    @Parcha24 5 лет назад +5

    autoloader file is not there , in the folder php mailer as that is downloaded

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

      use version 5.2.26 there the file is

  • @ameilvernolledo1324
    @ameilvernolledo1324 6 лет назад +1

    Thanks sir! Finally i find this awesome tutorial! Thank you!!

  • @vandanagupta3420
    @vandanagupta3420 6 лет назад +2

    When I am downloading the phpmailer library some of the files and folders are not downloaded . I dont understand why?

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

    So fast and furious but it done the job. Nice thanks.

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

    Hey I'm getting this error
    Failed open stream
    Require once() failed opening requires '/phpmailerdoc/PHPMailerAutoload.php

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

      Means it couldn't find the file PHPMailerAutoload.php in phpmailerdoc. Download the stable 5.2 version.

    • @출캉
      @출캉 4 года назад

      Got the same problem and this solved it ruclips.net/video/oKbr2lRD7lQ/видео.html

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

    This worked. Thanks a million

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

    I found this troubleshooting through my gmail account: "To help keep your account secure, from May 30, 2022, ​​Google no longer supports the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password."
    Is this the reason the actions from this video doesnt work anymore?

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

    are still working if it is online?, I mean not in localhost. thanks before

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

    I will recommend this video to my friends. Thanks a lot @howCode

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

    You used the path as "localhost/tutorials/gmail-send/" So here what is the path for localhost here I mean the base PATH" I'm trying to install it on remote server. I'm wondering how I replace localhost with what PATH?

  • @andreas-fefe
    @andreas-fefe 4 года назад +1

    Hello this is an awesome technic. i thank you for the tutorial, i would love to know can i make t attach a file with PHPMailer, something like an invoice from the Database

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

    Me has one question! What is the difference between all the emails you typed in? Thanks

  • @unailopez1282
    @unailopez1282 5 лет назад

    I disabled my antivirus and the google accounts security stuff but the same error appears everytime i try: 2019-07-19 12:20:48 SMTP ERROR: Failed to connect to server: (0)
    SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
    I'm using localhost with xampp. Any ideas of how can i fix it?
    Thank you

  • @pianoLee-sx9dx
    @pianoLee-sx9dx 6 лет назад

    Hello! is the $headers section important because if I omit the $headers section, my mail function won't work. It will only work if I include it...

  • @starryasteria7232
    @starryasteria7232 6 лет назад +1

    Can we set the address that we are sending the email to to a variable so that we can send emails to more than just the singular one defined in the code?
    I have a contact form and I've been wanting to be able to email users back once they hit submit.

    • @real_anil9688
      @real_anil9688 6 лет назад +2

      yes it is possible take it in as $email and assign its value using $post

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

    Thank you!!

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

    is the PHPMailAutoload now called autoload.php in the vendor folder?

  • @pushkarsaraf524
    @pushkarsaraf524 6 лет назад

    hey, thanks for the video, but the thing is after following exactly the same steps as you did I'm still not able send mail, using $mail->ErrorInfo gives me " SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting ". Also please let me know if it's necessary to use the setFrom(); is there other way around?
    Thanks.

  • @TC-kh4er
    @TC-kh4er 4 года назад +2

    Hi! How could I put inside the body of the $message= ' '; ?

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

      You Can't because this is a HTML email not PHP email

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

      Try to
      $email->isHPHP();
      but i don't know this is work but try

  • @rajninegi5683
    @rajninegi5683 5 лет назад +2

    Fatal error: Uncaught Error: Class 'PHPMailer\PHPMailer\PHPMailer' not found

  • @convolution223
    @convolution223 7 лет назад +1

    Is there any way to account for the gmail email sending limit? Like if the sending fails, try sending it through an alternate account? How would you code that?

    • @convolution223
      @convolution223 7 лет назад

      even if there's no way to know if the sending failed, surely there's a way to keep track by updating a variable on the site so it counts how many have been sent and then switches to another account...
      how to do that? the whole updating a variable that gets reset daily? oh that's another thing, what timezone does google's daily limit reset on?

    • @howCode
      @howCode  7 лет назад

      If you're sending loads of emails try a service that's specifically designed for sending loads of emails! I'm sure that swapping accounts to circumvent the limit is against Google's ToS.

    • @convolution223
      @convolution223 7 лет назад

      oh crap. forget i said that then.

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

    This what i get
    Fatal error: __autoload() is no longer supported, use spl_autoload_register() instead in C:\xampp\htdocs\ka-kard\pages\PHPMailer\PHPMailerAutoload.php on line 45

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

      facing same problem,did you find any solution?

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

    It works

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

    Thanks, that's great. But it would be even better if there was a (clearly explained) way to download the index.php code. Or, why not copy-paste it directly in the description?

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

    Where to get the zip file. Where are autoload file i open all the link but can't find

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

    Thanks bro, you are the life saviour

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

    This helped a lot

  • @leilaguerrab6879
    @leilaguerrab6879 6 лет назад +2

    Parse error: syntax error, unexpected '$mail' (T_VARIABLE) in C:\xampp\htdocs\cours\index.php on line 12

  • @moizriaz4147
    @moizriaz4147 4 года назад +7

    __autoload() is deprecated, use spl_autoload_register() instead Can you please how to resolve this error?

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

      facing the same problem

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

      @@alexlazellari6563 yeah I did

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

      @@rohitsahu1443 deathhitter91@gmail.com email me

  • @ericchege526
    @ericchege526 7 лет назад +1

    Hey how code i dont know why mine isn't working nothing is been sent ive checked the code like thrice now everything is as you have put it...whT can be the issue??

    • @howCode
      @howCode  7 лет назад

      Add this line: $mail->SMTPDebug = 2; That'll show you what the problem is!

    • @ericchege526
      @ericchege526 7 лет назад +1

      Failed to connect to server: (0) 2017-03-13 05:02:49 SMTP connect() This is what i get bro

    • @KYOKU
      @KYOKU 7 лет назад +1

      gmail has an auto protect issue against less secure websites, go to your myaccount.google.com and turn on allow less secure apps, that was the issue for me.

    • @ericchege526
      @ericchege526 7 лет назад

      Thanks man i also figured that out

    • @MrZakrencony
      @MrZakrencony 7 лет назад

      I changed that, still nothing tho : /

  • @yoeriyoeri4264
    @yoeriyoeri4264 6 лет назад

    The line: $mail->SetFrom(‘example@gmail.com’) is not working. Any solutions?

  • @bartb5666
    @bartb5666 6 лет назад +7

    The page keeps loading for ever. please help.

  • @faizanshah7660
    @faizanshah7660 6 лет назад +1

    Can I put this on my free web server?? will it work the same???

  • @natiqdr
    @natiqdr 5 лет назад

    Google account ---> SIgn in security -- then -- Here, you need to keep Allow less secure apps : ON . After this you can send mail as gmail

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

    is this still working this year?

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

      Yes

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

      If you wont PHP others projects subscribe me

  • @redps8611
    @redps8611 7 лет назад

    is it possible to send same body but different subject to different recipient?

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

    my guy thank you!!!!!!

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

    Tnx bro....its working

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

    How do I run this?

  • @Tanzeel431
    @Tanzeel431 6 лет назад

    Which PHP version you're using.

  • @thewalkerthapa5435
    @thewalkerthapa5435 7 лет назад +16

    phpmailer is updated there is no phpmailerautoload.php class. i am have a error

    • @ZacVrono
      @ZacVrono 7 лет назад +1

      Same problem. Anyone know what to put in the require_once now?

    • @alpaka1337
      @alpaka1337 6 лет назад +10

      github.com/PHPMailer/PHPMailer/archive/v5.2.25.zip

    • @nullentrophy
      @nullentrophy 6 лет назад +3

      i am getting this error
      2018-02-22 11:22:01 SMTP ERROR: Failed to connect to server: (0)
      SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
      Mail Not Sent

    • @mtszczur7189
      @mtszczur7189 6 лет назад +1

      Thanks!

    • @arnelcellona
      @arnelcellona 6 лет назад +1

      same error.. how do i fix it??? need help

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

    can i use this without ssl. else how i do this without ssl.

  • @pickarooney
    @pickarooney 6 лет назад +1

    With debug level set to 3 I'm getting this error:
    Connection failed. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1
    OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
    My website is hosted on my own PC for the time being and I haven't set up a mail program on it, thinking I could just send everything to Google's SMTP. However, it looks like I need to generate a certificate locally to send but I've no idea how to do that. Or else override the certificate requirement but again, I haven't a bog's notion.
    (openssl is enabled on my server, FWIW)
    Anyone else resolved a similar issue?

  • @JamesWelbes
    @JamesWelbes 5 лет назад +1

    Can this work with gSuite?

  • @Vivi-yb1zd
    @Vivi-yb1zd 6 лет назад +2

    why thats not working? without error and not working :'( i already active my email with smtp. please helpp

  • @demrickphully5161
    @demrickphully5161 6 лет назад +1

    i've got no errors but its not sending email. please help

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

      Subscribe me for PHP programming

  • @sandragraves1177
    @sandragraves1177 6 лет назад +27

    Dear God slow down!!

  • @s2khali
    @s2khali 7 лет назад

    So what host would you recommend for a real life scenario?

    • @billyshattered
      @billyshattered 7 лет назад

      Probably setting up a SMTP server for yourself.
      Would sound like the better way, as you'd be saving money.

    • @howCode
      @howCode  7 лет назад

      You could setup your own email server or you could use something like Amazon AWS Simple Email Service.

    • @convolution223
      @convolution223 7 лет назад

      but then you'd have to have your computer on all the time.

    • @s2khali
      @s2khali 7 лет назад

      0vrStart real world meaning assuming you have a remote server for everything

  • @CansireNing
    @CansireNing 6 лет назад +1

    Thank you so much! I've been struggling a looong time! Thank you!

  • @mohsinsofi3740
    @mohsinsofi3740 7 лет назад

    Fatal error: Uncaught Error: Class 'PHPMailer' not found in D:\xamp\htdocs\send mail\send_mail.php:3 Stack trace: #0 {main} thrown in D:\xamp\htdocs\send mail\send_mail.php on line 3 can u plz tell me how to slve this error

    • @lulookidstv8504
      @lulookidstv8504 7 лет назад

      I have solution. You can use this option with updated New Class library. You will not get error. 100% Solution ruclips.net/video/DPGfNYkTkJ0/видео.html

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

    how I can get password and user name ? please help me

  • @supafast1314
    @supafast1314 7 лет назад +1

    it shows up this error :
    2017-07-10 16:11:40 SERVER -> CLIENT: 2017-07-10 16:11:40 SMTP NOTICE: EOF caught while checking if connected 2017-07-10 16:11:40 SMTP Error: Could not authenticate. 2017-07-10 16:11:40 SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
    What's the problem ?

    • @howCode
      @howCode  7 лет назад

      You probably have the wrong username / password.

    • @supafast1314
      @supafast1314 7 лет назад

      I resolved it by rewiriting the code ;)
      Thank you @howCode Keep going , i'm waiting to make the project MVC , implementing Php with html sucks :/

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

      Some files not connected

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

    1:15 i cant find any Autoload file in the zip

  • @mistimukh
    @mistimukh 6 лет назад +1

    Not working sir...showing a error with SMTP can not authenticate...can you please help...

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

      Subscribe me for more details

  • @ShubhamGupta-qr6sd
    @ShubhamGupta-qr6sd 5 лет назад +1

    It's not working for yahoo plz a video on yahoo also

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

      You noy can men setup using Yahoo

  • @developeraccount438
    @developeraccount438 6 лет назад

    May I have the link to I download the script which you using. Please

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

    that old gmail interface

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

    How to stop mail going into spam??

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

      Phpmailer not sending in spam

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

      Subscribe me

  • @pianoLee-sx9dx
    @pianoLee-sx9dx 5 лет назад +1

    I can't get it to work but must i disable my antivirus?

    • @RGPinger
      @RGPinger 5 лет назад +2

      u disabled brain

  • @bahagianonton6017
    @bahagianonton6017 7 лет назад +1

    how to use phpmailer, if on hosting ,?

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

    my php_openssl.dll was commented by default in php.ini so removed ; from it and then it brought me another error of module can not be loaded, then I removed ; from extension path. I am sharing this so it may help someone else. By the way, big thanks for the tutorial.

  • @maqibjaved1351
    @maqibjaved1351 7 лет назад +1

    whats about this error ???
    SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    • @sojankreji
      @sojankreji 7 лет назад

      did you resolve it?

    • @maqibjaved1351
      @maqibjaved1351 7 лет назад

      not yet can you help please ???

    • @sojankreji
      @sojankreji 7 лет назад

      i hosted the file to a different server and called it from my application. that is the only work around i could think.

    • @howCode
      @howCode  7 лет назад

      Maybe your login details are incorrect?

  • @shriniwaswaphare9543
    @shriniwaswaphare9543 5 лет назад

    What editor are you using ?

  • @sumbalkhalid4612
    @sumbalkhalid4612 6 лет назад +1

    Address of which mail??

  • @samueltorres2485
    @samueltorres2485 6 лет назад

    Got the following error:
    2018-08-09 01:52:53 SERVER -> CLIENT: 2018-08-09 01:52:53 SMTP NOTICE: EOF caught while checking if connected 2018-08-09 01:52:53 SMTP Error: Could not authenticate. 2018-08-09 01:52:53 SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
    what does it mean?

    • @RGPinger
      @RGPinger 5 лет назад

      that mean EOF caught while chcecking

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

    Thank you so Much!!

  • @sapnandu
    @sapnandu 5 лет назад +1

    Sir It's not working in CPanel...

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

      This is working in cpanel , if not working so code not rights

  • @nimomoto392
    @nimomoto392 5 лет назад +1

    how if I have a button and message box ?

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

      Using issey post

  • @galangrambuanarqi9487
    @galangrambuanarqi9487 6 лет назад +1

    it works fine :), thanks

  • @AmeerMSAK
    @AmeerMSAK 6 лет назад +2

    I get "SMTP connect() failed"
    My code is the same as yours except I'm using port 587 since 465 gives me the "Username & Password not accepted" error for some reason.
    Any thoughts?

    • @yanz_77
      @yanz_77 5 лет назад +3

      Sure he changed his username and password. Use your own gmail broo

    • @dr.joint4204
      @dr.joint4204 4 года назад

      depending on your service of email this if you use a gmail account you can use this but if you use a service like outlook or hotmail then you need to search for the smtp settings. This would be different from gmail....

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

      Code missing or gmail not allowed or file not connected

  • @G4laxyExtrem
    @G4laxyExtrem 5 лет назад +1

    not working with no error message

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

      What massage

  • @muhammadameemkhan7662
    @muhammadameemkhan7662 6 лет назад +1

    why i dont have PHPMailerAutoload.php ??

  • @waqarnaveed444
    @waqarnaveed444 6 лет назад +1

    phpMailer complete files not download only few files is downloaded please upload phpMailer file again

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

      Download phpmailer 5.2 version

  • @jainishbhojani2388
    @jainishbhojani2388 5 лет назад +1

    how to send with PDF attachment ???????????????????????

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

      Simply attachment file using

  • @macaronivirus5913
    @macaronivirus5913 7 лет назад +2

    Thanks, it works, even on localhost.

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

    I've made a video covering parts that were not shown here: ruclips.net/video/oKbr2lRD7lQ/видео.html
    p.s. I do not mean to attack this great video, just showing things in another angle

  • @PeriodicLaw
    @PeriodicLaw 7 лет назад

    Which text editor is he using?

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

    is fucking working thank you very .. you are the best

  • @xigidali
    @xigidali 6 лет назад +2

    PHPMailer not found error HELPPPPPPPPPPPPPPP

  • @zinebbouzaffour5985
    @zinebbouzaffour5985 6 лет назад

    there is any propsition ....
    i want to link this php with the button form
    if someone know ho to d it plz help me
    thank you ^^

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

    if your code is not working, can try to change
    $mail->Port = 587;
    $mail->SMTPSecure = 'tls';