In a unanimous ruling, the Virginia Supreme Court on Friday struck down one of the country's first anti-spam laws.