Thank you very much ! I searched in many videos how to fix my problem (11 videos, 23 articles) but I didn't until I found yours, so keep on your way and good luck
there's Fatal Error on line 51? with how the brace is not supported? how should we change the format now? Error: Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\project\phpmailer\index.php on line 51
Thank you so much! This worked except for one thing: the curly brackets around $mail->ErrorInfo on line 51 were giving an error so i changed it to this: echo "Message could not be sent. Mailer Error: " . $mail->ErrorInfo; But the email sent perfectly thanks!
Finally it worked sending an email thanks to following stepts from this tutorial 🙂 However, whenever I click the index.php file, I send two instead of one mail. Any hints why this is happening? :-) I have the exact same code as in your video, except from the user/pwd field, of course... :-)
@@BroExperts-Tutorials I tried adding a random number to the subject and found out both mails had the same number. That ruled out that I clicked the link twice. Then I look further in the code and could see I had both the "$mail->Send())" AND the "if ( $mail->Send()) { echo "Email was sent!"; } else { echo "Something went wrong..."; }" added to the script. I just eliminated the first one and problem was fixed. Again, thank you so much for this video :-) !
Can this method be sent permanently? Now, I am using the token method and the refresh token needs to refresh every day. I don't know how to make this auto refresh token.
Hello, do you know if you can use a single app password with multiple php contact forms, or do I need to create an App password for each one ? I need to configure around 30 contact forms with the same GMail address and SMTP... Thanks for your help.
Hi bro I'm using app password now works on...but my team told me find alternative solution..? Any alternative solution ...to acess Gmail ...??? Pls tell.
there's Fatal Error on line 51? with how the brace is not supported? how should we change the format now? Error: Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\project\phpmailer\index.php on line 51
You can follow my new video.. its actually one function belongs to error reporting which you can find at last where I am checking for error.. this function is deprecated you can remove it..
Hi, I'm getting SMTP connect() failed. I'm on Windows 10 and I'm using $mail->SMTPSecure = 'ssl' as tls didn't work. Do you know how to solve this issue?
There are many cases for the failure of SMTP connection in PHPMailer and lack of SSL is one of that too. There might be a case, that the Open SSL extension is not enabled in your php.ini which is creating the connection problem. So, try to enable the extension=php_openssl.
@@BroExperts-Tutorials I send you an email I would like to contact you in the private for discuss if you want help me I search a solution it's very important for me
I figured it out with the help of this video, minute 1:07. You simply need to type "app passwords" into the search bar at the top of the account > security page. th-cam.com/video/-MqVdG9w_lY/w-d-xo.htmlsi=_psto-72slqJyDok&t=67
i created the same method as the tutorial said but im getting "Message could not be sent. Mailer Error:" but when i run to other computer it is working what is the problem then? please help me
You must be doing something wrong, if you are coding please check your code. My advice is to open a new Gmail account preferably a business one. Good luck
this script not working show this error can you please help me (Warning: Illegal string offset 'Invalid address: (From): root@localhost' in D:\xampp\htdocs\phpmailer\index.php on line 51 M)
@@BroExperts-Tutorials I am getting one stupid error "smtp error: failed to connect to server: connection timed out (110)". Do you have any advice on this? Thanks!!
Thank you very much ! I searched in many videos how to fix my problem (11 videos, 23 articles) but I didn't until I found yours, so keep on your way and good luck
there's Fatal Error on line 51? with how the brace is not supported? how should we change the format now?
Error: Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\project\phpmailer\index.php on line 51
THANK YOU
I really need that SMTP thing but I can't access the less secure apps on your previous video. This helps me so much.
Glad it helps.. (:
Thank you so much! This worked except for one thing: the curly brackets around $mail->ErrorInfo on line 51 were giving an error so i changed it to this:
echo "Message could not be sent. Mailer Error: " . $mail->ErrorInfo;
But the email sent perfectly thanks!
Thanks for posting this info..!
Thank you very much, I really tried to solve my bug. I was able to solve it thanks to you again
Its 100% working..
God Lee!!!!!!!!!!!!!!!!. Man this works from any Platform C, C++, Java Script, PHP. Thank You!!!!!!!!!!!!!!!!!!
Welcome..
This video was very useful for me. Thanks!
Thanks bro, you're a lifesaver because I'm making an OTP verification of email for the client side in my school project.
Welcome.. :)
Extremely clear and resolved my credentials errors. Thank you very much!
Thank you Bro. Expert
Ya ALLAH give this man more honor and success
You solved my Problem brother
Thank you very much.. that's a real reward.. :)
thanks bro.... it really worked... you saved my day
Welcome Bro..
It works , thanks !
thanks! got stuck in that same point, now I can test the mail functions :)
Welcome..!
Big up brother. You have just done me well.
Be blessed
Bro you are the real savior... Thanks a million.
Thanks.. Pls subscribe for more videos..
It really works! Thank you so much!
Glad to know 😌
thank you very much, I was able to continue my work thanks to you!!!
Glad go know it helped you (: please subscribe my channel !!
Bro... you are the best.. ty.. 🔝🔝🔝🔝👏👏👏👏❤❤
You are my angel and hero.
You solve my problem bro love u 😊😊😊
:)
Thank you very much
Welcome.. 😊
Waaah! Amazing! Thanksss!
Welcome..!
thanks man
thanks bro keep going it's working for me
Glad it works
Ohh my Beautiful brother can we sent multiple mails through this .?❤️✨
Thank you so much bro
Thank you so much for this amazing video
Welcome..
finally you saved my day thanks a lot & clear explanation
Glad it helped!
Finally it worked sending an email thanks to following stepts from this tutorial 🙂
However, whenever I click the index.php file, I send two instead of one mail. Any hints why this is happening? :-)
I have the exact same code as in your video, except from the user/pwd field, of course... :-)
You might be hitting the link twice. Otherwise, there is no such thing that sends 2 emails instead of one
@@BroExperts-Tutorials I tried adding a random number to the subject and found out both mails had the same number.
That ruled out that I clicked the link twice. Then I look further in the code and could see I had both the "$mail->Send())" AND the "if ( $mail->Send()) {
echo "Email was sent!";
} else {
echo "Something went wrong...";
}" added to the script. I just eliminated the first one and problem was fixed. Again, thank you so much for this video :-) !
I'm glad to know you have fixed the issue..
This is a rly helpful video, ty.
Thanks..
thanks to you my friend i solved the problem thanks
Subscribe pls for more videos coming on phpmailer and other topics.. thanks
Thank you so much brother, god will always bless you. 👏
Welcome..
Thank You, works 100%
Welcome
Thank you!!
Worked like a charm
You are the best
Thank you
Sir
Thanks Bro, you save me :))))
Welcome (:
Thank you so much sir for this great help ☺
Welcome.. Pls subscribe for more videos.. Thanks
Great video, I appreciate it !!
Thanks..
Thank you bro
NIce Solution! thank you!
Thanks pls subscribe
how many emails can send or delivered per day using an account under the workspace subscription as smtp
thx very much
Thank you!!! love ya!
thank you
Thanks buddy :)
Welcome :)
Can this method be sent permanently? Now, I am using the token method and the refresh token needs to refresh every day. I don't know how to make this auto refresh token.
Hello, do you know if you can use a single app password with multiple php contact forms, or do I need to create an App password for each one ? I need to configure around 30 contact forms with the same GMail address and SMTP... Thanks for your help.
Thanks pro
Welcome..!
so nice
Thank you 🤗
Welcome ;)
Anytime 😊
Your expertise amazes me 😊
do you have to configure xampp?
Yes I have installed xampp with default settings..
Hi bro I'm using app password now works on...but my team told me find alternative solution..? Any alternative solution ...to acess Gmail ...??? Pls tell.
Big up
there's Fatal Error on line 51? with how the brace is not supported? how should we change the format now?
Error: Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\project\phpmailer\index.php on line 51
You can follow my new video.. its actually one function belongs to error reporting which you can find at last where I am checking for error.. this function is deprecated you can remove it..
Hi, I'm getting SMTP connect() failed. I'm on Windows 10 and I'm using $mail->SMTPSecure = 'ssl' as tls didn't work. Do you know how to solve this issue?
There are many cases for the failure of SMTP connection in PHPMailer and lack of SSL is one of that too. There might be a case, that the Open SSL extension is not enabled in your php.ini which is creating the connection problem. So, try to enable the extension=php_openssl.
@@BroExperts-Tutorials Thank you for replying.
How can I open it?
I'm really struggling with this problem.
Hello I try the same steps what you did but I don't receive any mails could you help me please ?
Please enable debugging and check what error you are getting...
@@BroExperts-Tutorials I send you an email I would like to contact you in the private for discuss if you want help me I search a solution it's very important for me
Bro .. can't find "Add password"...in Google account
Google appears to have changed the Security layout again. There is no longer a link called "App passwords". I have not resolved this issue yet.
I figured it out with the help of this video, minute 1:07. You simply need to type "app passwords" into the search bar at the top of the account > security page. th-cam.com/video/-MqVdG9w_lY/w-d-xo.htmlsi=_psto-72slqJyDok&t=67
i created the same method as the tutorial said but im getting "Message could not be sent. Mailer Error:" but when i run to other computer it is working what is the problem then? please help me
You must be doing something wrong, if you are coding please check your code.
My advice is to open a new Gmail account preferably a business one.
Good luck
You saved my ass
😀
Hi, I followed your video closely but I am getting (Message could not be sent. Mailer Error:) I do not know what seems to be the issue :(
Pls enable debugging by calling below function.
$mail->SMTPDebug = 2;
And see what error your are getting..
Hi thanks for replying, its telling me authentication failed but i’ve checked my username and password it’s the same.
I hate the new update it limits the send of emails, you have to replace the app password again to use it. Do you know how to fix it?
SMTP ERROR: Failed to connect to server: Connection refused (111)
Still geting error
Pls verify credentials
it shows an SMTP connect() failed error
Pls check if you have open_ssl enabled.
I keep getting 405 error, how can I stop this ?
i have mailer error
It's not working on me bro even if I followed all steps
What error you are getting ? Pls share
I re do all of the steps but I still get the this result " Message could not be sent. Mailer Error:"
Google removed the less secure feature
Yes, you are right. I have made a new video with the latest settings of Gmail.
Here is the link:
th-cam.com/video/bAdHC2LNbSs/w-d-xo.html
bro now its not working
May I know what error you are getting?
@@BroExperts-Tutorials No error message on alert is Ok but still not getting mail to the gmail address
even this doesnt work now. 😭 jus tried it.
not working 8/13/2023
still i am getting error
Pls share what type of error you are getting..
Why bother? PHP will doesn't need PHPmailer.
not work now XD
Pls check the latest video on this topic..
th-cam.com/video/mte7LroYd74/w-d-xo.html
this script not working show this error can you please help me (Warning: Illegal string offset 'Invalid address: (From): root@localhost' in D:\xampp\htdocs\phpmailer\index.php on line 51
M)
please help this is the error that I am getting --- Invalid address: (From): root@localhost
Bro you are the real savior... Thanks a million.
Thanks.. Hit subscribe for more videos..
@@BroExperts-Tutorials I am getting one stupid error "smtp error: failed to connect to server: connection timed out (110)".
Do you have any advice on this?
Thanks!!
Thank you so much it was really helpful
Thank you so much.
Welcome..