After less secure password option is not available anymore I tried to implement app password in gmail however it is showing me an error:
this is my email.php configuration I am using codeigniter 3.
what I did was use my email and just paste the password in the smtp password but is not working. How can I make it work? In my local development it works fine but after deploying it to heroku it does not work anymore.
Make sure the 3 steps like in this link https://stackoverflow.com/a/73357021/13633617 have been done because it seems that in the details of the question, only 1 step is done (create an app password). It worked smoothly for me.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.