Hello,
yahoo-mail only offers pop3 access.
1st: Access yahoo via web:
in options-mail options-pop and ..... enable pop
(No IMAP is supported yet.
2nd: configure :
pop.mail.yahoo.xx ssl port 995
smtp.mail.yahoo.xx ssl port 465
Also have a look at :
Secure SMTP authentication
Regards