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?
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?
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.
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
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
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
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!
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.
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???
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-Tutorials THANK YOU SO MUCH!!!!!!!!!!!(It worked). For Mac OS X users, go to your Mamp httdocs folder is this path "/Applications/MAMP/htdocs".
@@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 😔
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..
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.
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.
@@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?
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:
ruclips.net/video/mte7LroYd74/видео.html
Finally i am now able to add contact us form with email notification in my any website project. Thanks sir. Thanks for quality content.
Fantatically demonstrated. Just how any tutorial should be.
Thanks for your appreciation..!
I spent like 2 hours watching other videos yesterday and none worked for me. But your video worked!!! Thank you so much!
ur the only one that remind us about allowing acces on gmail
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..(:
Finally a video that actually worked!!!!
Happy to help you guys.. pls subscribe for more stuff like this..
Thanks a lot sir for giving this video for student like me I am too happy to use this and thankyou
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
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.. 👍
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!
man is a great teacher.. thank you!
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!
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, 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..!
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
Thank you so much! My website contact form stopped working after I switched hosting services. Its now up and running again.
Thanks so much…!!! You save my project. I am new student.
Happy to know it helped 😊
Amazing.... It worked! I was looking for this 2 days. Thank you soooo much.
Glad to know it helped .. pls subscribe (:
OMG! THANK GOD! THANK YOU SO MUCH!
Thank you so much sir!!! New subscriber here! Moreee! God bless!
Welcome :)
thats a good exlanantion thanks u r life saver
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
Really you are Boss. Thanks for this important video.
Thanks 😊
Thank You for this tutorial
I can understand the sequential method for sending an email with php
Ohhh THANK YOU So Much !!!! it works :)
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 :)
THANK YO BROTHER! THANKS A LOT. IT WORKED FINE FOR ME.
thank you! I've tried some tutorials but my mail was not sent until yours!
thank you, this video helped me a lot, Thanks
THANL YOU!
thank you for the video, and yes... I will subscribe.
Thanks for your comment, keep visiting
Great video , thanks a lot!!!
Don't forget to subscribe..Thanks
Thanks for the detailed explanation
Very useful video for mailing configuration.
simple and clear explanation! thank you so much!
Very useful....Thank you!!!!!!!!!!!!
thank you so much
Greate vid but put it into a docker container and then how does it sen d then???
Thank u sir
Thank you so much! Works perfect for me
great video, many thanks!!!👊
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 :)
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.
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
well done mate! i really appreciate that
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 so much! Works perfect for me :)
Good Work!
Thank you so much 😊
Thank you for your video.
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?
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
Thanks
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🙄
nice .. How i can retrive all gmail account using PHP & how i can delete chosen emails ?
Gooooooooooooooooooooooooooooooooooooooooooooooooooooood
THANK YOU!
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..
thank bhai it's work
Good..
thank u
good example for beginner like me
Great video!!
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..
THANKS A LOT MAN
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
Hello is phpmailer is gonna work in web hosted sites?
Yup
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
السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ
brother setfrom should be the same as the username on which we are using smtp authantication?
W salam.. it can be different too..
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.
Danke 🙏 für 👍🏽👍🏽
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
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
Cool it's working bro! Thanks lot!
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!
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.
The “use” function is not working
syntax error, unexpected token "use"
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
Thank you bro!
it worked only once after which it displays error. Can you help? illegal string offset 'smtp connect() failed
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???
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.. ?
God Blessed you!
thank you !
Welcome Dear :)
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".
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 😔
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..
Iam just Try this one .... but inthis case sender and receiver both are same ... why ... that you can see in mail
gracias amigo muy util
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.
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
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.
ça manque un ; quelque part
Now google doesn't support third-party access how can I turn it on
Yes you are right.. pls check my new video on this topic.. Thanks
ruclips.net/video/mte7LroYd74/видео.html
just perfect..
Thanks
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?