The steps in this article work regardless of the operating system you are using provided you are only trying to use a Gmail account.
As you set up an email client to synchronize with your Gmail account, a screen asks for your Gmail SMTP information.
Use these settings:
Comment