Thank you for your response. I have Mac OS X version 10.6.8 & access my yahoo account via apple mail.
Your question made me realize I had not attempted to delete the spam on the web yahoo site so I did & it deleted fine. I had assumed it would be an easy fix, just could not see the woods for the trees I guess. Again thank you for your response it prompted the solution.