It's illegal in quite a lot of countries.
http://en.wikipedia.org/wiki/E-mail_spam_legislation_by_coun...
http://en.wikipedia.org/wiki/E-mail_spam_legislation_by_coun...
Of course, you realize that could, at an extreme, mean that you cannot send a personal email to someone else you have previously not corresponded with.
Spamming refers to sending unsolicited email. Sending unsolicited emails isn't illegal; sending unsolicited emails that do not adhere to the law is illegal in America.