Congress has reached an agreement on antispam legislation that could end more than six years of failed attempts to create a federal law restricting unsolicited commercial e-mail.

Members of the House of Representatives debated the measure for nearly an hour on Friday evening, with Democrats and Republicans alike hailing the proposal as a long-sought compromise that would curb advertisements for Viagra and sexual propositions of a dubious nature from clogging e-mail in-boxes. The House was expected to approve the bill early Saturday, while the Senate was expected to follow next week.

Read more: CNet News.