What is the difference between spammer and an affiliate marketer?

Hello

What is the difference between spammer and affiliate marketer?