I doubt that Yahoo's board and shareholders will accept the deal. It would be a good way for Microsoft to spend some of it's extra cash, though without getting in to regulatory trouble.
People buy stock to make money, and a 62% premium is good money. I doubt shareholders would reject the deal unless they think Yahoo is worth more than that. I doubt they would reject it because of some sort of amorphous anti-Microsoft sentiment.