Why won't my Gmail SMTP settings work?

In Google Mail, you must allow "less secure" apps access in order for your SMTP settings to work. There are two places this setting must be enabled:

 

Once enabled in both places, you're good to go!

Please note that these options are not available if you have two-factor authentication (2FA) enabled for your Google account.