Let’s see how to enable this feature from your Gmail account. You can enable this feature only on Google Account website. Currently, Outlook does not support OAuth and 2-Step Verification, so the only way to allow a connection for Gmail via Outlook is to use App-Specific Password. The fact is that since July 15, 2014, Google has strengthened the protection of accounts by blocking applications that use a simple validation for access the Gmail mailbox (such as Outlook). So, as explained in the beginning, this issue occurs due to the fact that you have not enabled the basic authentication for your Gmail account. We still cannot connect to Gmail, but the error is not the same.
Now you can see, that there is the same form we have earlier.
For the outgoing SMTP server select TLS as an encryption protocol and change the port number from 25 to 587. Select SSL to encrypt your connection for Incoming server (IMAP) by selecting from the drop-down list. Now, go to Advanced and change some mail server settings. READ ALSO FSMO Role: Domain Naming Master