Allow Less Secure Apps On Gmail. On this page, simply select “turn on” from the two options. Now click the back arrow in the title, you can find the allow less secure apps has been turned on.

Click your photo, avatar or outline near gmail's top right corner, then select google account. Wait at least 1 hour for google to update this setting. Also, this feature will not display.
Select your picture or your.
It should now send correctly via smtp. Under “change account access for less secure apps”, click the link to the “less secure apps” to open your gmail account access settings. Now slide right to turn on allow less secure apps using toggle button. Toggle to turn this feature 'on'.