SMTP server is not working on port 465 -- only port 587
Server smtp.mail.yahoo.com accepts TCP connections to port 465, but it is not possible to exchange any data. After some seconds, the connection is shut down.
This problem probably started on April 1st.
The server responds to port 587 and simple SMTP commands seem to be accepted on that port.