Yes, someone passed a spam law

Someone asked the question:

Didn’t Congress pass a law that was supposed to stop spam? Why am I receiving so much of it?

Shouldn’t someone ask Congress? Or corporate America?