Some email applications use older, less secure technologies to log you into your email account, and Google will block these requests by default.
If you can’t send mail with your Gmail account for that reason, it’s unlikely that you’re entering the wrong SMTP settings. Instead, you’ll get a message related to the security of the email client.