In this article I will explain, how to setup Two Step Authentication (Two Factor Authentication) in Google Account.
Setting Two Step Authentication
If Two Step Authentication is enabled for your Gmail Account, then the Less Secure Apps settings will not be available and you won’t be able to send emails using your Gmail Password.
Thus, in such scenario, you will need to generate App Password for your Gmail Account using the following link.
1. You will see the following page. Give the App, a suitable name and click the Create Button.
2. Once the app password is generated, copy and save the Password somewhere and click Done.
3. The App will be visible, but its Password will not be visible again. If you ever forget the Password, delete the App and create a new one.