Depending on where you live, Goodwill will take old computers/parts. I live in Charlotte and they have a Computer Works outlet that is always happy to get stuff donated (I recently dropped off two boxes of old misc parts & two big bags of random cables).
They will test the parts, refurb what they can (combine into working systems, sell individual working parts, etc) and correctly recycle the rest.