My intent was not to claim that the HTC email app can't do IMAP.
My point is that the HTC email app is not getting Yahoo mail using imap.mail.yahoo.com, which is the point of this thread.
The K9 email app is getting my email using imap.mail.yahoo.com.
The K9 app works for Yahoo, the HTC one...