Nah, you're ok.
If the problem is only in your yahoo email (not outlook/outlook express), you're fine. Yahoo will fix the problem within a week or two- you don't even have to do anything.
The exact same thing happened to me during the last big virus.
I was getting (and unwillingly sending!) dozens of infected emails every day for about two weeks.