How to send email using gmail account



I have followed all the steps given in the tutorial to send email using my gmail account to my yahoo account but when I run the program I get error message which says that


Hey @satyavirsingh

Please Look into below thread, This will help you on this:



Thanks for your response Aksh. Somehow I was able to figure out the issue. I had to off the less secure app feature in gmail and it worked.


hey @satyavirsingh how did you do that? Because I am also facing the same issue.


You will get a mail about signin attempt from unauthorised devicce .In that mail you need to provide access to less secure apps.You have to enable it


I am trying but i have not received any email.