Change the outgoing mail setting to: android.smtp.mail.yahoo.com. I think you should tick the secure authentication boxes too then press connect. A new generic IMAP dialog box will open called 'Internet email' - the server name (android.imap.mail.yahoo.com) and user name (your Yahoo email address) will already be filled. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.