Send Emails with PHP & Gmail

Поділитися
Вставка
  • Опубліковано 31 гру 2024

КОМЕНТАРІ • 251

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

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

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

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

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

  • @larsharstadmehus8101
    @larsharstadmehus8101 2 роки тому +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 5 місяців тому

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

    • @laaarsn
      @laaarsn 5 місяців тому

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

  • @harshavardhanmadineni1867
    @harshavardhanmadineni1867 4 роки тому

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

  • @ahmadalghadban1072
    @ahmadalghadban1072 5 років тому +4

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

  • @astrophel12
    @astrophel12 2 роки тому

    Do we need an SSL certificate on SMTP secure?

  • @vandanagupta3420
    @vandanagupta3420 7 років тому +2

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

  • @-C-ARBHARADWAJ
    @-C-ARBHARADWAJ 2 роки тому

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

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

  • @Parcha24
    @Parcha24 5 років тому +5

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

    • @thefoxguy
      @thefoxguy 4 роки тому

      use version 5.2.26 there the file is

  • @ramazangunduz3306
    @ramazangunduz3306 3 роки тому

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

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

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

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

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

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

  • @mazudhafiz1778
    @mazudhafiz1778 5 років тому +1

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

  • @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 ua-cam.com/video/oKbr2lRD7lQ/v-deo.html

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

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

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

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

  • @alpaka1337
    @alpaka1337 7 років тому +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

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

  • @bartb5666
    @bartb5666 7 років тому +7

    The page keeps loading for ever. please help.

  • @t0tzky_
    @t0tzky_ 4 роки тому

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

  • @speciamdoesntdraw1052
    @speciamdoesntdraw1052 5 років тому

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

  • @leilaguerrab6879
    @leilaguerrab6879 6 років тому +2

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

    • @ValZarGaming
      @ValZarGaming 6 років тому

      Looks like you're missing a ;

  • @rajninegi5683
    @rajninegi5683 5 років тому +2

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

  • @ameilvernolledo1324
    @ameilvernolledo1324 6 років тому +1

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

  • @KiliGraphics
    @KiliGraphics 3 роки тому

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

  • @edesc8765
    @edesc8765 4 роки тому

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

  • @yoeriyoeri4264
    @yoeriyoeri4264 6 років тому

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

  • @Vivi-yb1zd
    @Vivi-yb1zd 7 років тому +2

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

  • @TomaTo96TV
    @TomaTo96TV 4 роки тому

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

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

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

  • @richarddelaltre8804
    @richarddelaltre8804 4 роки тому

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

  • @PeriodicLaw
    @PeriodicLaw 7 років тому

    Which text editor is he using?

  • @muhammadharith3070
    @muhammadharith3070 4 роки тому

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

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

  • @moizriaz4147
    @moizriaz4147 5 років тому +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 : /

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

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

  • @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 7 років тому +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.

  • @Tanzeel431
    @Tanzeel431 6 років тому

    Which PHP version you're using.

  • @bahagianonton6017
    @bahagianonton6017 7 років тому +1

    how to use phpmailer, if on hosting ,?

  • @CansireNing
    @CansireNing 6 років тому +1

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

  • @faizanshah7660
    @faizanshah7660 6 років тому +1

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

  • @RajendraDubey00
    @RajendraDubey00 5 років тому

    Thanks bro, you are the life saviour

  • @rihasanatrofolo2472
    @rihasanatrofolo2472 3 роки тому

    Absolute gold, thank you

  • @thefoxguy
    @thefoxguy 4 роки тому

    How do I run this?

  • @JamesWelbes
    @JamesWelbes 5 років тому +1

    Can this work with gSuite?

  • @larsharstadmehus8101
    @larsharstadmehus8101 2 роки тому

    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?

  • @everboy112
    @everboy112 4 роки тому

    This worked. Thanks a million

  • @developeraccount438
    @developeraccount438 6 років тому

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

  • @makdev5528
    @makdev5528 5 років тому +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?

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

  • @natiqdr
    @natiqdr 6 років тому

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

  • @shriniwaswaphare9543
    @shriniwaswaphare9543 6 років тому

    What editor are you using ?

  • @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 ua-cam.com/video/DPGfNYkTkJ0/v-deo.html

  • @kishouarima9021
    @kishouarima9021 4 роки тому

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

  • @demrickphully5161
    @demrickphully5161 6 років тому +1

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

    • @Nexample
      @Nexample 4 роки тому

      Subscribe me for PHP programming

  • @nimomoto392
    @nimomoto392 6 років тому +1

    how if I have a button and message box ?

    • @Nexample
      @Nexample 4 роки тому

      Using issey post

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

  • @mahmutalmasri8009
    @mahmutalmasri8009 4 роки тому

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

  • @macaronivirus5913
    @macaronivirus5913 7 років тому +2

    Thanks, it works, even on localhost.

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

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

  • @sumbalkhalid4612
    @sumbalkhalid4612 6 років тому +1

    Address of which mail??

  • @musicboxng
    @musicboxng 3 роки тому

    This helped a lot

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

  • @vivek5147
    @vivek5147 5 років тому +1

    How to stop mail going into spam??

    • @Nexample
      @Nexample 4 роки тому +1

      Phpmailer not sending in spam

    • @Nexample
      @Nexample 4 роки тому

      Subscribe me

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

  • @alecrafthd
    @alecrafthd 4 роки тому +1

    It works

  • @xigidali
    @xigidali 6 років тому +2

    PHPMailer not found error HELPPPPPPPPPPPPPPP

  • @jainishbhojani2388
    @jainishbhojani2388 5 років тому +1

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

    • @Nexample
      @Nexample 4 роки тому

      Simply attachment file using

  • @dailyThoughts_Think
    @dailyThoughts_Think 4 роки тому +1

    my guy thank you!!!!!!

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

  • @GamBar64
    @GamBar64 2 роки тому

    Thank you!!

  • @G4laxyExtrem
    @G4laxyExtrem 5 років тому +1

    not working with no error message

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

  • @vanrotterdam4585
    @vanrotterdam4585 4 роки тому +2

    I've made a video covering parts that were not shown here: ua-cam.com/video/oKbr2lRD7lQ/v-deo.html
    p.s. I do not mean to attack this great video, just showing things in another angle

  • @kh7512
    @kh7512 4 роки тому

    Tnx bro....its working

  • @msqvidad
    @msqvidad 4 роки тому

    IT WORKS!!!!!! Thank you so much❤️

  • @galangrambuanarqi9487
    @galangrambuanarqi9487 6 років тому +1

    it works fine :), thanks

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

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

  • @69bitboy
    @69bitboy 7 років тому +2

    Thank you, sir!!!!

  • @cristinamagaswaran8938
    @cristinamagaswaran8938 6 років тому +3

    it not working... but no error.. plese help me

    • @arnelcellona
      @arnelcellona 6 років тому +2

      same problem dude.. anyone can help us??

    • @joshua3085
      @joshua3085 6 років тому

      me too

    • @real_anil9688
      @real_anil9688 6 років тому

      I was also having the same problem then I guess for security reasons this method does not work now. I would now suggest instead using Google Email API .see this developers.google.com/gmail/api/quickstart/php

    • @chrisdsouza07
      @chrisdsouza07 6 років тому

      @@real_anil9688 hv u used it?

    • @sanzhar.danybayev
      @sanzhar.danybayev 5 років тому

      Now we have to pay Google for using their servers

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

  • @ananyaghosh2855
    @ananyaghosh2855 4 роки тому

    Thank you so Much!!