I had a friend run for state legislature in the 1990s, his opponent sent people around targeted neighborhoods passing out fake flyers for my friend's campaign. They used his name and photo, but attributed positions he did not hold to him.
I imagine before cheap printing, it was gossip. I'm sure it's been the case since democracy started.