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...
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!
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-Tutorials THANK YOU SO MUCH!!!!!!!!!!!(It worked). For Mac OS X users, go to your Mamp httdocs folder is this path "/Applications/MAMP/htdocs".
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.
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 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?
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?
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..
@@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.
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
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.
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
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..
@@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 😔
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
@@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???
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?
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-Tutorials sorry sir, there was an mistake in my coding that's why it was not working. but now it's working properly seriously your a genius sir. thank you so much for helping us to make this kind of project. and your so kind also and thank you so much for this address. when I will be in a problem, i will contact with you 💖💖💖💖
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
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...
Please follow my new video to solve this problem:
th-cam.com/video/mte7LroYd74/w-d-xo.html
Fantatically demonstrated. Just how any tutorial should be.
Thanks for your appreciation..!
Finally i am now able to add contact us form with email notification in my any website project. Thanks sir. Thanks for quality content.
Finally a video that actually worked!!!!
Happy to help you guys.. pls subscribe for more stuff like this..
I spent like 2 hours watching other videos yesterday and none worked for me. But your video worked!!! Thank you so much!
man is a great teacher.. thank you!
ur the only one that remind us about allowing acces on gmail
I can't thank you enough... This is a great tutorial. I love the way you itemized with comments before solving step-by-step
Thanks for your comments :)
Thanks, bro I have been tried so many times to overcome this problem but after I watch your video it helps me instantaneously
Thanks so much bro!! I spent 3 days of time of spending these functions!! It's working!!! Glad to thanks so much bro!!!!
That's great ..👍
it worked! Thank you! Finally, I have something that works! Fantastic!
Thanks, Bro ! ))
I ` ve spent 5 hours to find a solution how to fix errors.
Bro plz tell me that what was the error... And what was the solution
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!
Thanks for appreciation..(:
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
Glad to know it helped (: pls like and subscribe
thank you very much this is very helpful this method works 100%
Welcome..!
thats a good exlanantion thanks u r life saver
Thanks a lot sir for giving this video for student like me I am too happy to use this and thankyou
OMG! THANK GOD! THANK YOU SO MUCH!
Thanks for the detailed explanation
Thank you so much sir!!! New subscriber here! Moreee! God bless!
Welcome :)
OH MY GOD, thank you so much been trying to get this working all day!
Pls check my latest video for new Gmail settings..
Thanks so much…!!! You save my project. I am new student.
Happy to know it helped 😊
Very useful....Thank you!!!!!!!!!!!!
simple and clear explanation! thank you so much!
Really you are Boss. Thanks for this important video.
Thanks 😊
thank you, this video helped me a lot, Thanks
Very useful video for mailing configuration.
THANK YO BROTHER! THANKS A LOT. IT WORKED FINE FOR ME.
Amazing.... It worked! I was looking for this 2 days. Thank you soooo much.
Glad to know it helped .. pls subscribe (:
Great video , thanks a lot!!!
Don't forget to subscribe..Thanks
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
That's great.. 👍
Ohhh THANK YOU So Much !!!! it works :)
Thank You for this tutorial
I can understand the sequential method for sending an email with php
good example for beginner like me
Thank u sir
THANL YOU!
Thank you so much! Works perfect for me
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
Pls subscribe, like and share.. Thanks
@@BroExperts-Tutorials I did that already :)
Good Work!
well done mate! i really appreciate that
Thank you so much 😊
Thank you for your video.
thank bhai it's work
Good..
great video, many thanks!!!👊
Thank you so much! Works perfect for me :)
Hello. I dont need composer for this one in my live server if I just wanna send verification emails right?
You can use this code to send any email just call this function and add email content inside email body
THANK YOU!
THANKS A LOT MAN
thank you for the video, and yes... I will subscribe.
Thanks for your comment, keep visiting
do you have to do any changes for the php.ini file? or will it work without any changes?
It worked without any changes with default installation of xamp
Great video!!
Greate vid but put it into a docker container and then how does it sen d then???
God Blessed you!
Bro, do you have another tutorial like this? That the message, subject and recipient will be entered in the index.php?
Thanks for your message.. Will make better version of this video including taking email text from form..
@@BroExperts-Tutorials Thanks bro. Looking forward in it :)
thank u
thanks
Thank you bro!
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?
You can pull record from the database and save in variable then echo that variable in email body.. that's simple.
Thanks
thank you! I've tried some tutorials but my mail was not sent until yours!
Danke 🙏 für 👍🏽👍🏽
thank you !
Welcome Dear :)
السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ
brother setfrom should be the same as the username on which we are using smtp authantication?
W salam.. it can be different too..
Gooooooooooooooooooooooooooooooooooooooooooooooooooooood
Thank you so much! My website contact form stopped working after I switched hosting services. Its now up and running again.
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!
gracias amigo muy util
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?
Thanks for your comment pls send email at admin@broexperts.com .. I will try to help as much as I can.. Thanks
use PHPMailer\PHPMailer\PHPMailer;
i guess thats for using the class
i have a error : unexcepted token 'use' , can you help me to fix , thanks !
Bro please bulk email using php mailer
Would this work on Mac OS X?
Yes
@@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".
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.
Hi.. pls carefully check your code .. there must be some error on line 31.. or paste your code here..
Below is the code you asked me to send here.
The way you are trying to add multiple recipients is wrong.. you need to define an array and loop them to send mulptiple emails.
Cool it's working bro! Thanks lot!
thank you so much
Hello is phpmailer is gonna work in web hosted sites?
Yup
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
Pls comment line number 51 and retry
Tried already
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.
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..
Does phpmailer have any requirementa for the sender account? I keep sending failed, please help me
It doesn't have any requirements for sender..should be email ..
@@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?
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?
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..
@@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.
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?
Pls share what error you are getting
Is this gonna work if I apply it in a web hosted website?
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
@@BroExperts-Tutorials Thanks bro this helped me a lot
just perfect..
Thanks
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.
You need to enable debugging mode to see what's wrong with your code..
Iam just Try this one .... but inthis case sender and receiver both are same ... why ... that you can see in mail
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
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..
Can add toggle button for hiding and showing html table within mail body using phpmailer???
Or any another way
Using javadcript you can hide elements..
@@BroExperts-Tutorials can't use js code in to phpmailer
@@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 😔
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🙄
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
I got error. Can you help me how to fix it?
I turned on less secure apps option.
What error you are getting?
@@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???
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?
Can this code be used to send otp on Gmail with php mailer
This code will send email you can add anything in email body even OTP.. Thanks
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
Hi. Gmail has daily limit of 2000 emails.
@@BroExperts-Tutorials Thank you sir! Does it work if I hosted my website?
Yes.. you can upload phpmailer file on your hosting server and send emails..
@@BroExperts-Tutorials Okay thanks because some had problems in the forum I read.
My mail is not sending bro plz hlp me
Make sure you followed video properly and if using Gmail you need to allow less secure apps option ..
@@BroExperts-Tutorials i need to contact with you sir.
Please help me
You can contact us on broexperts@gmail.com
@@BroExperts-Tutorials sorry sir, there was an mistake in my coding that's why it was not working. but now it's working properly seriously your a genius sir. thank you so much for helping us to make this kind of project. and your so kind also and thank you so much for this address. when I will be in a problem, i will contact with you 💖💖💖💖
Welcome dear... Please subscribe our channel (:
im having error when we call the use any solution pls
Pls check my latest video on this topic.
th-cam.com/video/mte7LroYd74/w-d-xo.html
it worked only once after which it displays error. Can you help? illegal string offset 'smtp connect() failed
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
What error you are facing.. ?
Hi sir, I have an issue that says "Illegal string offset 'Invalid address: (From): root@localhost'". How can I fix it?
thank you very much brother, you saved me in the shit hahahahahah
Sir i follow all the steps correctly but still the else block is running that echo "error" ..... Sir plz help me😭😭😭😭
What's error? Try to enable debugging and see error
@@BroExperts-Tutorials i've encounter the same problem too
me too
nice .. How i can retrive all gmail account using PHP & how i can delete chosen emails ?