Gmail and Hotmail accounts not working with Mail
I have a new Macbook with Leopard. Mail does not seem to work with either account (that is Gmail and Hotmail). Now in Hotmail it doesn't work at all, whereas in Gmail I can receive but not send any mail. Note that my Hotmail account is like 6 years old now. When trying to send from Gmail, I ger an error message saying that my mail got rejected by the smtp server.
What's odd is that i have done all the basic troubleshooting. Entourage on the other hand works with both accounts. I have tried matching the settings without succes.
Thanks for your help.
Macbook 2.1, Mac OS X (10.5.3)