Yahoo IMAP and SMTP Settings
If 2-Step Authentication is enabled on your Yahoo account, you will need to create a third-party password just for Emailtree using these steps:
You might need to provide the following details:
Your Account information
Full name or display name: Your name
User name: Your full email address
Password: Your Yahoo mail password
Incoming mail settings
Server: imap.mail.yahoo.com
Require SSL: Yes
Port: 993
Outgoing mail
Server: smtp.mail.yahoo.com
Require SSL: Yes
Require authentication: Yes
Port for SSL: 465 or 587
Source: https://help.yahoo.com/kb/add-two-step-verification-extra-security-sln5013.html