the gmail setting had changed to other method and my smtp is not working at all. ..something is blocking it to transfer email . i had test through the online gmass smtp test but it still blocking... im not sure what to do...
@BroExperts-Tutorials2 жыл бұрын
Please follow my new video to solve this problem: kzbin.info/www/bejne/o6XIaH-opL6XbZY
@learntoearn46582 жыл бұрын
Finally i am now able to add contact us form with email notification in my any website project. Thanks sir. Thanks for quality content.
@GuitarsRgood74 жыл бұрын
I spent like 2 hours watching other videos yesterday and none worked for me. But your video worked!!! Thank you so much!
@jaxonrox Жыл бұрын
Fantatically demonstrated. Just how any tutorial should be.
@BroExperts-Tutorials Жыл бұрын
Thanks for your appreciation..!
@greywanderer86593 жыл бұрын
Finally a video that actually worked!!!!
@BroExperts-Tutorials3 жыл бұрын
Happy to help you guys.. pls subscribe for more stuff like this..
@redamg27892 жыл бұрын
ur the only one that remind us about allowing acces on gmail
@aariskazi90024 жыл бұрын
Thanks, bro I have been tried so many times to overcome this problem but after I watch your video it helps me instantaneously
@findxng3 жыл бұрын
I can't thank you enough... This is a great tutorial. I love the way you itemized with comments before solving step-by-step
@BroExperts-Tutorials3 жыл бұрын
Thanks for your comments :)
@seetharamankirubakaran87703 жыл бұрын
Thanks so much bro!! I spent 3 days of time of spending these functions!! It's working!!! Glad to thanks so much bro!!!!
@BroExperts-Tutorials3 жыл бұрын
That's great ..👍
@coderslife9732 Жыл бұрын
Thanks a lot sir for giving this video for student like me I am too happy to use this and thankyou
@alexandrcoreov85845 жыл бұрын
Thanks, Bro ! )) I ` ve spent 3 hours to find a solution how to fix errors. After video - it took me for a 5 minutes.. :D
@BroExperts-Tutorials5 жыл бұрын
Glad to know it helped (: pls like and subscribe
@smartbeeinc Жыл бұрын
man is a great teacher.. thank you!
@officeshongkong4513 жыл бұрын
it worked! Thank you! Finally, I have something that works! Fantastic!
@hacene54472 жыл бұрын
Finally I did it / the problem was on the mail adress If you could not execute this program try to create an new compte gmail and re-execute it
@BroExperts-Tutorials2 жыл бұрын
That's great.. 👍
@loaihassan5674 жыл бұрын
Thanks, Bro ! )) I ` ve spent 5 hours to find a solution how to fix errors.
@vipin23564 жыл бұрын
Bro plz tell me that what was the error... And what was the solution
@jasonmich18054 жыл бұрын
OMG thank you very very much for taking the time to make this video and going over each step and explaining the way you did! You helped me tremendously and for that you earned my "Like" on this video and a Sub!!! You're awesome!
@BroExperts-Tutorials4 жыл бұрын
Thanks for appreciation..(:
@azerchniti94972 жыл бұрын
thank you very much this is very helpful this method works 100%
@BroExperts-Tutorials2 жыл бұрын
Welcome..!
@nathanaelmeshesha45572 жыл бұрын
OH MY GOD, thank you so much been trying to get this working all day!
@BroExperts-Tutorials2 жыл бұрын
Pls check my latest video for new Gmail settings..
@TechDevTips3 жыл бұрын
Thanks so much…!!! You save my project. I am new student.
@BroExperts-Tutorials3 жыл бұрын
Happy to know it helped 😊
@gamalabdelrahman7694 жыл бұрын
Oh My God .. Finally I Found A Way To Send An Email With PHPMailer Thanks To You .... I Want Thank You So Much For Your Effort ; Best Regards
@BroExperts-Tutorials4 жыл бұрын
Pls subscribe, like and share.. Thanks
@gamalabdelrahman7694 жыл бұрын
@@BroExperts-Tutorials I did that already :)
@dn.wickramasinhe3 жыл бұрын
Amazing.... It worked! I was looking for this 2 days. Thank you soooo much.
@BroExperts-Tutorials3 жыл бұрын
Glad to know it helped .. pls subscribe (:
@mohammedaliidrisi90453 жыл бұрын
thats a good exlanantion thanks u r life saver
@kriziacarissepangan15903 жыл бұрын
Thank you so much sir!!! New subscriber here! Moreee! God bless!
@BroExperts-Tutorials3 жыл бұрын
Welcome :)
@mariaalizalomugdang9143 жыл бұрын
OMG! THANK GOD! THANK YOU SO MUCH!
@j8acob12 жыл бұрын
Thank you so much! My website contact form stopped working after I switched hosting services. Its now up and running again.
@TheCause412 жыл бұрын
I can't thank you enough. I have one question, how would you go about adding this to a Wordpress website? If anyone has any ideas please let me know!
@ranaivomananatoussaint84344 жыл бұрын
Thank You for this tutorial I can understand the sequential method for sending an email with php
@indrajitsarkar49944 жыл бұрын
THANK YO BROTHER! THANKS A LOT. IT WORKED FINE FOR ME.
@sohelakther7143 жыл бұрын
Really you are Boss. Thanks for this important video.
@BroExperts-Tutorials3 жыл бұрын
Thanks 😊
@tk00144 жыл бұрын
Ohhh THANK YOU So Much !!!! it works :)
@Wjdveiwlslfbeb3 жыл бұрын
simple and clear explanation! thank you so much!
@carolinemagunde20224 жыл бұрын
Thanks for the detailed explanation
@MOHAMED-AMINE-CHEKROUNI4 жыл бұрын
thank you, this video helped me a lot, Thanks
@kothakapusriharshini56362 жыл бұрын
Very useful....Thank you!!!!!!!!!!!!
@kiranraut93804 жыл бұрын
Very useful video for mailing configuration.
@ioulios122 жыл бұрын
THANL YOU!
@TheJvorte3 жыл бұрын
Great video , thanks a lot!!!
@BroExperts-Tutorials3 жыл бұрын
Don't forget to subscribe..Thanks
@pearl79703 жыл бұрын
Thankyou , and if I want to attach a value in The database sends it as $row['id_booking']; in $mail->Body, what should I do?
@hafizhaider29603 жыл бұрын
You can pull record from the database and save in variable then echo that variable in email body.. that's simple.
@kribo96042 жыл бұрын
Greate vid but put it into a docker container and then how does it sen d then???
@nhiduong14884 жыл бұрын
thank you! I've tried some tutorials but my mail was not sent until yours!
@Hakimo-UK-Babeker3 жыл бұрын
well done mate! i really appreciate that
@ianlopez14803 жыл бұрын
Bro, do you have another tutorial like this? That the message, subject and recipient will be entered in the index.php?
@BroExperts-Tutorials3 жыл бұрын
Thanks for your message.. Will make better version of this video including taking email text from form..
@ianlopez14803 жыл бұрын
@@BroExperts-Tutorials Thanks bro. Looking forward in it :)
@fegadesir7424 жыл бұрын
Thank you so much! Works perfect for me
@nolocastro36835 жыл бұрын
great video, many thanks!!!👊
@bogia75624 жыл бұрын
good example for beginner like me
@TheTriangle4443 жыл бұрын
Hello. I dont need composer for this one in my live server if I just wanna send verification emails right?
@BroExperts-Tutorials3 жыл бұрын
You can use this code to send any email just call this function and add email content inside email body
@Atti.Rehman3 жыл бұрын
Good Work!
@gustavoiglesias58434 жыл бұрын
Thank you so much! Works perfect for me :)
@TheNancyGroove2 жыл бұрын
I did it, thank you so much for your lesson! I need to implement the updated phpmailer on my website, the phpmailer that is on it is very old, can you help me?
@BroExperts-Tutorials2 жыл бұрын
Thanks for your comment pls send email at admin@broexperts.com .. I will try to help as much as I can.. Thanks
@Alisha-fk5kg4 жыл бұрын
Thank you so much 😊
@runningsolution61544 жыл бұрын
Thank you for your video.
@critbyte4 жыл бұрын
thank you for the video, and yes... I will subscribe.
@BroExperts-Tutorials4 жыл бұрын
Thanks for your comment, keep visiting
@bilalgujjar26275 жыл бұрын
Great video!!
@pasinduekanayaka80233 жыл бұрын
do you have to do any changes for the php.ini file? or will it work without any changes?
@BroExperts-Tutorials3 жыл бұрын
It worked without any changes with default installation of xamp
@ibadinmeshach53273 жыл бұрын
Thank u sir
@sachithharshamal38954 жыл бұрын
Cool it's working bro! Thanks lot!
@p_akp3 жыл бұрын
Its show fat error Required () failed to open required 1 And warning: Required () failed to open stream no such file in directory How I fix now🙄
@matheuscosta89265 жыл бұрын
use PHPMailer\PHPMailer\PHPMailer;
@shadestorm39954 жыл бұрын
i guess thats for using the class
@vinhlehuu29763 жыл бұрын
i have a error : unexcepted token 'use' , can you help me to fix , thanks !
@mohamedaberkane20444 жыл бұрын
THANKS A LOT MAN
@skeeterstudies81092 жыл бұрын
Bro please bulk email using php mailer
@LakhaniDivyesh3 жыл бұрын
thank bhai it's work
@BroExperts-Tutorials3 жыл бұрын
Good..
@elliotfriesen68203 жыл бұрын
THANK YOU!
@جمعيهإقليميالبيئةوالتمنية5 жыл бұрын
Danke 🙏 für 👍🏽👍🏽
@DavidAshby13 жыл бұрын
How would you go about implementing this now so that rather than hardcoding the subject and destination, you used a normal form on a localhost webpage?
@BroExperts-Tutorials3 жыл бұрын
There can be different type of implementations of PHPMailer .. depends on someone requirements.. you can take Subject and destination by input field or pull from database.. its all depends what type of stuff you working on..
@DavidAshby13 жыл бұрын
@@BroExperts-Tutorials I am looking at a basic contact form and will see if I can substitute some of the code you gave in the tutorial for the variables from the $_POST. Thanks for getting back to me.
@pakistaninsaudi Жыл бұрын
السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ brother setfrom should be the same as the username on which we are using smtp authantication?
@BroExperts-Tutorials Жыл бұрын
W salam.. it can be different too..
@officeshongkong4513 жыл бұрын
In this example, we can only send one email to one recipient. Is it possible to send more than one recipients? pls advise. Thank you.
@BroExperts-Tutorials3 жыл бұрын
Yes it is possible .. you need to add all recipients in an array and then using loop you can send emails to all one by one..
@novailoveyou4 жыл бұрын
Thank you bro!
@lanyiming Жыл бұрын
Hello sir I watched your video and tried to install PHPMailer successfully. PHPMailer can work normally on the website set up by XAMPP on the local computer, but PHPMailer cannot work normally when the webpage is uploaded to the PHP website environment on synology , have you ever encountered this problem?
@vipin23564 жыл бұрын
Sir i follow all the steps correctly but still the else block is running that echo "error" ..... Sir plz help me😭😭😭😭
@BroExperts-Tutorials4 жыл бұрын
What's error? Try to enable debugging and see error
@MaestroRoma14 жыл бұрын
@@BroExperts-Tutorials i've encounter the same problem too
@kenzasouabni2 жыл бұрын
me too
@arielguatta63273 жыл бұрын
Now I'm just getting "error" printed out, but no other message, and no idea why it isn't working. Do you have any idea how to fix? This worked for me before..would appreciate any help you can offer.
@BroExperts-Tutorials3 жыл бұрын
You need to enable debugging mode to see what's wrong with your code..
@angelosampang2 жыл бұрын
Hello is phpmailer is gonna work in web hosted sites?
@BroExperts-Tutorials2 жыл бұрын
Yup
@molestando4 жыл бұрын
It worked for me, thanks. I would like to know if it is possible to make gmail in safe mode, or in other words, make our app safe for gmail, so we do not modify that configuration. Another thing that I would like to know is if it is possible to encrypt or make something more secure the authentication part with the password. Thank you!
@yaseenimuhammadraja94613 жыл бұрын
Can add toggle button for hiding and showing html table within mail body using phpmailer??? Or any another way
@BroExperts-Tutorials3 жыл бұрын
Using javadcript you can hide elements..
@yaseenimuhammadraja94613 жыл бұрын
@@BroExperts-Tutorials can't use js code in to phpmailer
@yaseenimuhammadraja94613 жыл бұрын
@@BroExperts-Tutorials Yes. I already try it. I assigned html structure code and js code into one variable and assigned that variable to $mail->body= variable But it's not working 😔
@donwolfman3 жыл бұрын
When I follow same as in video and launched in browser it says syntax error in $mail line 31. And that is the body section. Please I need help with this. Trying to send bulk emails at once.
@BroExperts-Tutorials3 жыл бұрын
Hi.. pls carefully check your code .. there must be some error on line 31.. or paste your code here..
@donwolfman3 жыл бұрын
Below is the code you asked me to send here.
@BroExperts-Tutorials3 жыл бұрын
The way you are trying to add multiple recipients is wrong.. you need to define an array and loop them to send mulptiple emails.
@soniaosman4 жыл бұрын
God Blessed you!
@athirajishnu1341 Жыл бұрын
Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\phpmailer\index.php on line 51 .....................How to solve this issue
@BroExperts-Tutorials Жыл бұрын
Pls comment line number 51 and retry
@athirajishnu1341 Жыл бұрын
Tried already
@amitkush31165 жыл бұрын
I have tried thae same way but i am working on web template, if i delete the footer then it is working if i add the footer part again it does not work. Pls advise
@BroExperts-Tutorials5 жыл бұрын
Thanks for your comment.. In my code there is no footer involved.. U need to check your footer code u might be having some error or break code when u add or remove footer..
@العرندس-ع8ل3 жыл бұрын
nice .. How i can retrive all gmail account using PHP & how i can delete chosen emails ?
@nics57062 жыл бұрын
I just want to ask. If it happened that the plain text email was not sent even after following every step. What could be the reason?
@BroExperts-Tutorials2 жыл бұрын
Pls share what error you are getting
@kljudih3363 жыл бұрын
thank you very much brother, you saved me in the shit hahahahahah
@blackholefalling48024 жыл бұрын
Would this work on Mac OS X?
@BroExperts-Tutorials4 жыл бұрын
Yes
@blackholefalling48024 жыл бұрын
@@BroExperts-Tutorials THANK YOU SO MUCH!!!!!!!!!!!(It worked). For Mac OS X users, go to your Mamp httdocs folder is this path "/Applications/MAMP/htdocs".
@cautionbaby89613 жыл бұрын
Sir base on my understanding you just need your gmail account for the phpmailer? Because some other tutorials that I watch they used SMTP2GO its free but you need a business email. How about gmail sir? And how many email can I send using gmail? And can I also send emails to other gmail account? Help sir I want to use phpmailer for practice purposes
@BroExperts-Tutorials3 жыл бұрын
Hi. Gmail has daily limit of 2000 emails.
@cautionbaby89613 жыл бұрын
@@BroExperts-Tutorials Thank you sir! Does it work if I hosted my website?
@BroExperts-Tutorials3 жыл бұрын
Yes.. you can upload phpmailer file on your hosting server and send emails..
@cautionbaby89613 жыл бұрын
@@BroExperts-Tutorials Okay thanks because some had problems in the forum I read.
@tamilkids9108 Жыл бұрын
Iam just Try this one .... but inthis case sender and receiver both are same ... why ... that you can see in mail
@programmeremma72635 жыл бұрын
this is what am having when i debug it 2020-01-28 09:55:07 CLIENT -> SERVER: EHLO localhost 2020-01-28 09:55:08 CLIENT -> SERVER: STARTTLS SMTP Error: Could not connect to SMTP host. 2020-01-28 09:55:10 CLIENT -> SERVER: QUIT 2020-01-28 09:55:10 SMTP ERROR: QUIT command failed: SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Error...! the smtp is not connected
@wandersonmaikon5 жыл бұрын
i have the same problem
@uzi24064 жыл бұрын
Disable your antivirus
@supratimghosh41704 жыл бұрын
same problem here
@supratimghosh41704 жыл бұрын
I have uninstalled antivirus and till facing the same problem!
@angelosampang2 жыл бұрын
Is this gonna work if I apply it in a web hosted website?
@BroExperts-Tutorials2 жыл бұрын
Yes definitely.. you can submit form data into phpmailer library and call send function to send email.. But gmail settings are not same as shown in video.. I am making updated video on this.. subscribe our channel so you can get latest video.. Thanks
@angelosampang2 жыл бұрын
@@BroExperts-Tutorials Thanks bro this helped me a lot
@KegsProduction3 жыл бұрын
im having an error it says: Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\Inventoryv2\email.php on line 51
@alenkjoseph86804 жыл бұрын
Showing message could not be sent
@luke981235 жыл бұрын
thank you !
@BroExperts-Tutorials5 жыл бұрын
Welcome Dear :)
@moayadsabr4 жыл бұрын
thank you so much
@abulalalalalaabulala45213 жыл бұрын
Does phpmailer have any requirementa for the sender account? I keep sending failed, please help me
@BroExperts-Tutorials3 жыл бұрын
It doesn't have any requirements for sender..should be email ..
@abulalalalalaabulala45213 жыл бұрын
@@BroExperts-Tutorials For the same mailbox, I was able to do nothing before and then I didn’t do anything. After that, he can’t. What could be the reason?
@jasonlentejas6942 жыл бұрын
Hi sir, I have an issue that says "Illegal string offset 'Invalid address: (From): root@localhost'". How can I fix it?
@HenryWatters3 жыл бұрын
it worked only once after which it displays error. Can you help? illegal string offset 'smtp connect() failed
@shatirdimag10113 жыл бұрын
Can this code be used to send otp on Gmail with php mailer
@BroExperts-Tutorials3 жыл бұрын
This code will send email you can add anything in email body even OTP.. Thanks
@mauriciomedinasierra10693 жыл бұрын
gracias amigo muy util
@acreationofallah16103 жыл бұрын
Thanks
@nuysanbard23213 жыл бұрын
thank u
@jmvalencia33783 жыл бұрын
I follow this video step by step but the end it said "error" I'm a first timer. I used Xampp Atom Notepad ++ I did all the step but says error What do I need to do. Do I need to install something that I don't know
@BroExperts-Tutorials3 жыл бұрын
What error you are facing.. ?
@hjohirul4 жыл бұрын
Thank you so much for your video. I have an issue it says PHP Parse error: syntax error, unexpected '$mail' (T_VARIABLE) Could you please let me know the solution and why this is happening.
@kenzasouabni2 жыл бұрын
ça manque un ; quelque part
@ALBDev3 жыл бұрын
I got error. Can you help me how to fix it? I turned on less secure apps option.
@BroExperts-Tutorials3 жыл бұрын
What error you are getting?
@ALBDev3 жыл бұрын
@@BroExperts-Tutorials I mean instead of getting "Mail Sent Successfully...!" I'm getting "Error...!" and I'm not receiving any mail. Hope you undestand what's going on???