I have 2 applications that are written in VB6 each send email via CDO and GMAIL account. The applications worked perfectly for a couple of years. No changes to Code nor to the account from my side. But today when I tried to send an email I got an SMTP Error code 0x80040217. Then I tried the second application and I got the same error. I can remember that when I created the gmail account I had to enter the settings and select an option that I can't remember now. (Tried to look it in the account settings) but can't find it. Any help will be appreciated.
I found the missing setting that was changed (not by me) it is. Enable Less Secure Apps. - must be enabled other wise you can't send emails.
User contributions licensed under CC BY-SA 3.0