I encountered an error Warning require(vendor/autoload.php): failed to open stream: No such file directory in C:\xampp\htdocs\. Although I have already a vendor folder and phpmailer folder. What should I do bro? Please can you help me?
@AdnanAfzal5653 жыл бұрын
Try running "composer update" on root folder of project.
@charles_coloso11 ай бұрын
composer dump-autoload
@gedefayesemahegn33893 жыл бұрын
Message could not be sent. Mailer Error: SMTP Error: Could not authenticate. How to solve this problem? please help me?
@AdnanAfzal5653 жыл бұрын
Make sure you have entered the correct email address and password. And also make sure you have enabled less secure apps from here: myaccount.google.com/lesssecureapps
@SalohiddinAbruyev Жыл бұрын
Thank you for your hard work, it works on my local computer but it doesn't work when I put it on the hosting, please help me
@AdnanAfzal565 Жыл бұрын
What error are you having ?
@qoutetastic2 жыл бұрын
hello sir i have a error saying Attempt to read property "email_verified_at" on null
@AdnanAfzal5652 жыл бұрын
This is because the user record is not found.
@rafhaellowixhomwad Жыл бұрын
im getting this error, Message could not be sent. Mailer Error: SMTP Error: Could not authenticate.
@AdnanAfzal565 Жыл бұрын
Make sure your email and password is correct.
@rafhaellowixhomwad Жыл бұрын
@@AdnanAfzal565 thank you, i get it now., you're a life saver!!>
@AdnanAfzal565 Жыл бұрын
You are welcome 🙂
@mae73813 жыл бұрын
Can u help me? It shows “class ‘PHPMailer/PHPMailer/PHPMailer” not found in my directory
@AdnanAfzal5653 жыл бұрын
Try installing PHPmailer with composer.
@fiqq_riz_ Жыл бұрын
Great video! I tried but it catches error. It says Uncaught PHPMailer\PHPMailer\Exception: SMTP Error: Could not connect to SMTP host. Failed to connect to server in ... Can you help? Thank you in advance
@AdnanAfzal565 Жыл бұрын
It means your SMTP email and password are incorrect. Try this new method: kzbin.info/www/bejne/g4GQgnqLlt10pNE
@larryaj1174 Жыл бұрын
Pls how do i make it function for "request another otp if you didn't recieve any"? Just incase a staff didnt recieve the otp at first.
@AdnanAfzal565 Жыл бұрын
You can use setTimeout function to send another OTP after 30 seconds etc.
@makoystv69713 жыл бұрын
Message could not be sent. Mailer Error: SMTP Error: Could not authenticate. How?
@makoystv69713 жыл бұрын
im getting this error, sorry im not good at programming
@AdnanAfzal5653 жыл бұрын
You need to check your email and password.
@nalinakshicr99006 ай бұрын
I am getting error in email_verification 27th line required error
@AdnanAfzal5656 ай бұрын
Can you paste the complete error here ?
@KopterHUN Жыл бұрын
hi i have one problem coursephp inessega dont work
@AdnanAfzal565 Жыл бұрын
What error are you having ?
@preyumkumar74043 жыл бұрын
Bro this video is awesome helped me to generate email otp in my project easily... great video :-) ❤️❤️
@AdnanAfzal5653 жыл бұрын
You are welcome. Glad it helped.
@rajubhaiuhhii13742 жыл бұрын
Yes lovely ✅ it help full for my collage project bro
@AdnanAfzal5652 жыл бұрын
Great. Nice to hear it.
@bahbrahim7112 жыл бұрын
i dodn't understand how to run the command, isn't there a way to download the php mailer folder with everything on it i am very confused and frustrated,, can you provide the folder with everything in place
@AdnanAfzal5652 жыл бұрын
You can download the complete source code from link in the description.
@bahbrahim7112 жыл бұрын
@@AdnanAfzal565 its not about the source i'm talking about the phpmailer folder on the code it says use PHPMailer\PHPMailer\PHPMailer; but there is not second or third PHPmailer there
@AdnanAfzal5652 жыл бұрын
@@bahbrahim711 Run the following command at the root of your project: composer require phpmailer/phpmailer
@bahbrahim7112 жыл бұрын
@@AdnanAfzal565 thx for replying, it's all setup now but it gives this err Message could not be sent. Mailer Error: SMTP Error: Could not authenticate.
@delalxndr9 ай бұрын
Hi Adnan, I already typed the correct host name, username and my database name in the mysqli_connect part but the values does not enter my users table. Do you know what could be the problem here? And thanks for the video
@AdnanAfzal5659 ай бұрын
Check for port number too.
@normanchew83803 жыл бұрын
i encounter another problem where i cant see the details in the database , it looks like invisible ( when I create manually to test , there is missing in the order of numbers
@AdnanAfzal5653 жыл бұрын
Can you show any screenshots etc ?
@normanchew83803 жыл бұрын
@@AdnanAfzal565 i managed to solve it thanks , it was my database config
@AdnanAfzal5653 жыл бұрын
@@normanchew8380 Great.
@taetae_.9510 ай бұрын
Can anyone tell me Vendor folder should be at which location
@AdnanAfzal56510 ай бұрын
It should be at your root location.
@selineluatalop18632 жыл бұрын
Hi Adnan, I need help on this Message could not be sent. Mailer Error: SMTP Error: Could not connect to SMTP host
@AdnanAfzal5652 жыл бұрын
Make sure your gmail and password is correct and “less secure apps” are enabled.
@ahmedal-akhali328 Жыл бұрын
I have already done the app password form Google account, and now I got this error Fatal error: uncaught_mysql_execution: Not connection could be made because the Machine refused it The error on line 67 where the local host = 8889, 'root',........
@AdnanAfzal565 Жыл бұрын
It means that your MySQL server has stopped running.
@davecarljay-arerodolfo9612 Жыл бұрын
how do i fixed this?? Message could not be sent. Mailer Error: SMTP Error: Could not authenticate.
@AdnanAfzal565 Жыл бұрын
It means that your email or password is in-correct.
@pavithrabhat50623 жыл бұрын
"Message could not be sent. Mailer Error: SMTP Error" getting this error, my email and password are correct. Please help.
@AdnanAfzal5653 жыл бұрын
Make sure you have entered correct email and password.
@preyumkumar74043 жыл бұрын
google accounts need to enable login with low secure apps option in their security settings to work with this settings. happened with me too
@pavithrabhat50623 жыл бұрын
@@preyumkumar7404 thanks
@jairocapua29562 ай бұрын
Can't download the source code. it says file wasn't available on site
@AdnanAfzal5652 ай бұрын
Let me re-upload the file.
@jairocapua29562 ай бұрын
@@AdnanAfzal565 ok thank you so much. I'm studying php right now and I found your channel. Thanks for the help! ☺️
@AdnanAfzal5652 ай бұрын
Thank you. That's great to hear. The file has been uploaded. Please refresh the page and try downloading again.
@User-is2kf3 жыл бұрын
can this still work if i don't have a live website? i just have php login page and a databse
@AdnanAfzal5653 жыл бұрын
Yes, it will work.
@yuhantho2879 ай бұрын
Hi Adam, my checking password function on the sign-in page is not functioning. It just shows "wrong password" even i entered the correct one. but the username can check whether is right or wrong. Do you know how to solved it?
@AdnanAfzal5659 ай бұрын
Is your password encrypted in database ? If yes, then make sure you are not checking the password in plain text. You need to check the password by decrypting etc
@yuhantho2879 ай бұрын
Hashed Password from Database: omg123 Password is not correct even though i add code to show the password that store in database, is the same what i entered but still show "password wrong"
@devicharandasari305111 ай бұрын
Undefined type 'PHPMailer\PHPMailer\PHPMailer'. this message coming can u help me?
@AdnanAfzal56511 ай бұрын
It means your PHPMailer library is not included. Try check the file path.
@devicharandasari305111 ай бұрын
@@AdnanAfzal565bro flie path is correct.Then also same error is coming
@munaalazzawi575 Жыл бұрын
hi adnan hope you are well i dont know how to install the phpmailer to the computer?? when you open the black window i mean ? and would you please tell me if there is any risk of installing it ?? regards :)
@AdnanAfzal565 Жыл бұрын
No. There is no risk.
@munaalazzawi575 Жыл бұрын
@@AdnanAfzal565 and how to install it I download the zip file where should i put it the C !! And is there any additional steps to be done!!
@ocwmmimaura32503 жыл бұрын
hey bro, it can't connect to the database
@AdnanAfzal5653 жыл бұрын
Make sure you are entering correct host, port username and password
@yashpandey56882 жыл бұрын
Hi Adnan, Thanks for the tutorial.. I'm getting this error: Message could not be sent. Mailer Error: SMTP Error: Could not connect to SMTP host.
@AdnanAfzal5652 жыл бұрын
Check if your email and password are correct. And make sure you have enabled less secure apps for gmail.
@yashpandey56882 жыл бұрын
@@AdnanAfzal565 Thanks, It Worked!!
@AdnanAfzal5652 жыл бұрын
You are welcome
@chandarayi56732 жыл бұрын
@@AdnanAfzal565 Google has no longer allow less secure apps right?
@AdnanAfzal5652 жыл бұрын
@@chandarayi5673 Yes. You can follow this now: adnan-tech.com/hosting-email-address-send-smtp-email-in-php/
@techtadse Жыл бұрын
Working on xammp but not a work live server hosting
@AdnanAfzal565 Жыл бұрын
What error are you having ?
@techtadse Жыл бұрын
@@AdnanAfzal565 email are received on use xammp but use live hosting not received mail
@AngeloCastro-xg3ci9 ай бұрын
why i encounter password is not correct? how will i fix this one?
@AdnanAfzal5659 ай бұрын
The password must be incorrect. Check your spellings and caps lock.
@ellanashadeed26052 жыл бұрын
why not send any thing in my gemail?
@AdnanAfzal5652 жыл бұрын
It is a limitation from email clients.
@markatienza7940 Жыл бұрын
How can I add a session in the code?
@AdnanAfzal565 Жыл бұрын
You can use php $_SESSION variable.
@angelosampang2 жыл бұрын
Hello is this gonna work if I want my website to apply it in a web hosting?
@AdnanAfzal5652 жыл бұрын
Yes. It will work.
@angelosampang2 жыл бұрын
@@AdnanAfzal565 Really?? Thanks a lot bro for replying. I've been asking many creators about this but your the only one who replied.
@AdnanAfzal5652 жыл бұрын
No problem. Let me know if you face any problem in your hosting.
@holdtightmydan2 жыл бұрын
I'm struggling to write a line that checks to see if the email is already activated, as at present when the email is already activated it just displays, verification code failed, I want it to check if activated = '1' to display this account is already activated.
@AdnanAfzal5652 жыл бұрын
You can fetch the user from database using his email only. Then use the condition in php: if($user->activated == “1”) { }
@raudhiatulridwan482111 ай бұрын
Hello, Adnan! I have some question for this tutorials. What is the password for login after register, the random password from database? or password that I used it from registered? bcs I cant use any password for login, so I stuck with "Password is not correct." Thanks, Adnan!
@AdnanAfzal56511 ай бұрын
Check your spellings. Make sure that capslock is turned off.
@ibrapro10312 жыл бұрын
Please help: Message could not be sent. Mailer Error: SMTP Error: Could not authenticate.
@AdnanAfzal5652 жыл бұрын
Please double check your email and password. Also make sure the “less secure apps” are enabled for that gmail account.
@ibrapro10312 жыл бұрын
@@AdnanAfzal565 I have checked they are correct and im not using gmail im using outlook
@AdnanAfzal5652 жыл бұрын
Then make sure the port number and encryption type “ssl” or “tls” is correct.
@ibrapro10312 жыл бұрын
@@AdnanAfzal565 so what should the code bee if you can send me thx for answering
@AdnanAfzal5652 жыл бұрын
The port should be 465. And the encryption must be “tls”. That should work.
@imperial-x98992 жыл бұрын
smtp shut down now ........ gonna need alternative now can u help sir?
@AdnanAfzal5652 жыл бұрын
Yes, you can follow this: adnan-tech.com/hosting-email-address-send-smtp-email-in-php/
@imperial-x98992 жыл бұрын
@@AdnanAfzal565 hello your website login register input is not working, so no can register or login sir..
@AdnanAfzal5652 жыл бұрын
You need to double check your email and password for login. Or reset.
@jolieousbejasa63152 жыл бұрын
Hello, the email are not sending pls help
@AdnanAfzal5652 жыл бұрын
Make sure your SMTP configurations are correct.
@ezrakeeps3 жыл бұрын
Can you make a node js project?
@AdnanAfzal5653 жыл бұрын
Yes.
@t.e.aravindhanstudent-mca90743 жыл бұрын
I cant register login in Anand tech
@AdnanAfzal5653 жыл бұрын
What error are you having ? Can you show screenshot ?
@oyewalephilip91132 жыл бұрын
Thanks Adnan, this helped me in a project.
@AdnanAfzal5652 жыл бұрын
You are welcome.
@shraddhabansode8599 Жыл бұрын
It is 100 % working. This video was really very helpful for me
@AdnanAfzal565 Жыл бұрын
Glad to hear that.
@larryaj1174 Жыл бұрын
@@AdnanAfzal565how can I make them request for an otp code if they didn't get it at first...can you just make that line of code for me please.
@daleandrew62533 жыл бұрын
the verify button didnt work pls help
@AdnanAfzal5653 жыл бұрын
Are you getting any error ?
@jayveesias70363 жыл бұрын
The link cannot be accessed.
@AdnanAfzal5653 жыл бұрын
What error you are seeing ?
@evc_scooter2 жыл бұрын
(I'm french) Hi Adnan, I get this error : Message could not be sent. Mailer Error: SMTP Error: Could not authenticate. My email and my password are the good. Can you help me please ? PS: I don't use google translate :)
@AdnanAfzal5652 жыл бұрын
You need to enable "enable less secure apps" option using this link: myaccount.google.com/lesssecureapps
@evc_scooter2 жыл бұрын
@@AdnanAfzal565 I do it , but the same error occured
@AdnanAfzal5652 жыл бұрын
@@evc_scooter Make sure there are not spelling mistakes or no white spacing etc in the email or password.
@evc_scooter2 жыл бұрын
@@AdnanAfzal565 thank you so much my email had a spacing
@AdnanAfzal5652 жыл бұрын
@@evc_scooter You are welcome.
@rizkialiffiyyanto7022 жыл бұрын
Kodingan kita sudah harus naik di hosting ya supaya running?
@AdnanAfzal5652 жыл бұрын
Anda dapat mengujinya di localhost juga.
@katlinsage93712 жыл бұрын
*Does this tool require smtp.?*
@AdnanAfzal5652 жыл бұрын
Yes
@crickshowshorts Жыл бұрын
please tell me how to add php mailer
@AdnanAfzal565 Жыл бұрын
You can get it from here: github.com/PHPMailer/PHPMailer
@235gajeraankita8 Жыл бұрын
how to enable enable "enable less secure apps" ?
@AdnanAfzal565 Жыл бұрын
This method is no longer works for Gmail. You will not find this option now.
@qoutetastic2 жыл бұрын
Hello sir it's still working?
@AdnanAfzal5652 жыл бұрын
Yes.
@diroshandino81393 жыл бұрын
Please send i phone settings
@AdnanAfzal5653 жыл бұрын
You want to verify with SMS ?
@diroshandino81393 жыл бұрын
@@AdnanAfzal565 gamil la bro spam la verify code varala bro
@rizkialiffiyyanto7022 жыл бұрын
Bang mau nanya lebih lanjut, ada kontak yg boleh di hubungi?
@AdnanAfzal5652 жыл бұрын
Tentu, Anda dapat mengunjungi di adnan-tech.com. Dan ada widget obrolan di kanan bawah.
@ClumsyStephut11 ай бұрын
is it still working?
@AdnanAfzal56511 ай бұрын
Yes.
@swipe94562 жыл бұрын
6:20
@gamermaster9876 Жыл бұрын
Thank you
@AdnanAfzal565 Жыл бұрын
You are welcome.
@shrikantjadhav10533 жыл бұрын
Please give source code
@AdnanAfzal5653 жыл бұрын
Its link is in the description.
@oyamele8628 Жыл бұрын
very interesting it worked for me pretty fine.
@AdnanAfzal565 Жыл бұрын
Glad it helped.
@oriaburehopeeromhosele8833 жыл бұрын
Can I rent you to work for me and I will pay you?
@AdnanAfzal5653 жыл бұрын
Sorry, right now I am not doing freelance work.
@skeletonroast36143 жыл бұрын
You can hire me I will surely do your work
@livymarilyn5092 жыл бұрын
Very functional bro to send campaign emails.
@AdnanAfzal5652 жыл бұрын
Thanks. Glad to hear it.
@ahmedadwan2 жыл бұрын
Nice video, How you write code like that word by word.
@AdnanAfzal5652 жыл бұрын
Thanks. What do you mean by “word by word” ?
@ahmedadwan2 жыл бұрын
@@AdnanAfzal565 The code is written automatically in sublime?, or do you write it with your own hands, that is what i mean.
@AdnanAfzal5652 жыл бұрын
I edited the part where I misspell the variables and while thinking the next code. I remove that part from the video using iMovie.
@ZGDX_Smiling0702 жыл бұрын
next time pls add music and effects to your video it was great but really boring and less intriguing
@AdnanAfzal5652 жыл бұрын
Sure. Will keep that in mind. Thank you for suggestion.
@jirax71442 жыл бұрын
Nice thank you
@AdnanAfzal5652 жыл бұрын
You are welcome.
@okok-j4c8h Жыл бұрын
Nice video , could you bro make a video using an API its more secure
@AdnanAfzal565 Жыл бұрын
Yes. That can be done.
@parvanehsalary17452 жыл бұрын
good
@parvanehsalary17452 жыл бұрын
adnam afzal
@parvanehsalary17452 жыл бұрын
very good
@AdnanAfzal5652 жыл бұрын
@@parvanehsalary1745 Thanks.
@kriptoedits99783 жыл бұрын
Nice
@AdnanAfzal5653 жыл бұрын
Thanks
@johnvincentalmonia88802 жыл бұрын
Please help me "Warning: require(vendor/autoload.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\EmailVerification egister.php on line 7"
@AdnanAfzal5652 жыл бұрын
You need to run the following command: > COMPOSER_MEMORY_LIMIT=-1 composer update
@johnvincentalmonia88802 жыл бұрын
@@AdnanAfzal565 Where I can see this one sir? I really need this program for my school project. Can you make a video or tutorial how to solve this problem?
@AdnanAfzal5652 жыл бұрын
@@johnvincentalmonia8880 You need to open the command prompt or CMD or terminal (Mac) in the main folder of your project. And then run that command.
@johnvincentalmonia88802 жыл бұрын
@@AdnanAfzal565 Message could not be sent. Mailer Error: SMTP Error: Could not authenticate. How about this one? What or where do you think my error?
@AdnanAfzal5652 жыл бұрын
@@johnvincentalmonia8880 it is because your email and password does not match. Or make sure you have enabled less secure apps for your gmail account.
@YOGESH-j9r9 ай бұрын
Warning: require(vendor/autoload.php): Failed to open stream: No such file or directory in C:\Users\Dell\OneDrive\Desktop\just yogesh stuff\CONTROL\htdocs ew egister.php on line 9 Fatal error: Uncaught Error: Failed opening required 'vendor/autoload.php' (include_path='C:\Users\Dell\OneDrive\Desktop\just yogesh stuff\CONTROL\php\PEAR') in C:\Users\Dell\OneDrive\Desktop\just yogesh stuff\CONTROL\htdocs ew egister.php:9 Stack trace: #0 {main} thrown in C:\Users\Dell\OneDrive\Desktop\just yogesh stuff\CONTROL\htdocs ew egister.php on line 9 plz broo
@AdnanAfzal5659 ай бұрын
Run command: "composer update" at the root folder.
@ItsMeMargo-k9c Жыл бұрын
i got this error please help "Message could not be sent. Mailer Error: SMTP Error: Could not authenticate." i tried any possible things even all your suggestions in comments but still not yet.🥲
@AdnanAfzal565 Жыл бұрын
Go to your gmail settings and enable 2FA. From there, you can get an app password. Use that password instead of your gmail actual password.
@fulhamfulham38522 жыл бұрын
Message could not be sent. Mailer Error: SMTP Error: Could not authenticate and I enabled less secure apps for gmail.. it's not working..
@AdnanAfzal5652 жыл бұрын
Gmail has disabled less secure apps. I am searching for an alternative. Will upload a new video once found a solution.