I am using old classic yahoo mail compose mail with attachement feature.
selenium.attachFile("uploadfile","http://www.google.co.in/intl/en/privacy.html");
The file attached to mail with name sel-12424.html.
This is something making the function unusable.
http://clearspace.openqa.org/message/56347
Fixed in r2641: