Here are simple steps to know How To Allow Less Secure Apps Access To Your Yahoo Account following as:
Step 1: Login to your Yahoo account and then visit the Security settings : https://login.yahoo.com/account/security#other-apps
Step 2: Now Enable - Please disable Two-Step Verification and allow apps that use less secure sign in
Note: After taking complete backup of data, you can select disable access to less secure apps