Step 1: Login into your G-mail account.
Step 2: Click on google account and then click on Manage your Google Account.
Step 3: Click on the Security option on the left side.
Step 4: Click on 2-step verification.
Click to get started button.
Step 5: Login again with Gmail password and verification code.
Step 6: Verify the mobile number and click on Next button.
Step 7: Enter the verification code and click on the Next button.
Step 8: Click Turn On button.
Click on 2-step verification and go to G-mail security screen.
Step 9: Click on App password
Step 10: Login again with Gmail password and verification code.
Step 11: Select the Other (Custom name) option from the Select app dropdown.
Step 12: Enter the app name as Applicare and click the Generate button.
Step 13: Copy the app password and save it in a file. This App password will be used as the email password in the SMTP configuration.