FoxPro and .NET Interop
Google More Secure Apps has stopped working
Gravatar is a globally recognized avatar based on your email address. Google More Secure Apps has stopped working
  Edward K. Marois
  All
  Jun 8, 2022 @ 06:29am

Dear Rick:

It has been a while

Years ago we purchased an 'Internal Email Client' from Visual Foxpro to the .NETBridge

Out Clients have been using this for years to send hundreds of thousands of emails

But Google has stopped allowing 'Less secure apps' and 'More secure apps' started working and then stopped working.

Outside of going to 'Microsoft Outlook', which our clients are doing

Is there any suggestion for a viable scheme to send emails from the 'Internal Email Client'.

Gravatar is a globally recognized avatar based on your email address. re: Google More Secure Apps has stopped working
  Rick Strahl
  Edward K. Marois
  Jun 8, 2022 @ 10:48am

It's getting harder and harder to support email in applications for this very reason. Google is removing their SMTP support for non-verified clients (ie. big corps or services) as 'non-secured' access which is used as an excuse. It's no longer possible to use GMail for SMTP sending for most applications.

Google does have APIs that can be used, but you essentially need a developer account to do this - not an option for 'user provided' email server. AFAIK, there's no just plug it and go mechanism. Just took a look to see what Outlook does to get my GMail email and while it says IMAP/SMTP it doesn't give me access to the settings.

The best recommendation that I have is if you do need to integrate:

  • Use a service that still supports SMTP (Outlook.com still does but I bet that will go too eventually)
  • Use a mail service like MailGun, SendGrid etc.

The latter have free plans for setting up mail sending services. For service based applications, this is a no brainer. For end users that's probably not an option but something to provide as addendum info for those that just can't use their main provider if they don't provide SMTP services.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Google More Secure Apps has stopped working
  Steve
  Edward K. Marois
  Jun 8, 2022 @ 08:10pm

For now at least, I have implemented this in my VFP Desktop App:
https://www.connect.ucsb.edu/usage/prepare-disabling-less-secure-apps

I recently stumbled across it on Foxite. So far, it's working. If Google stops supporting SMTP, then I'll have to take another approach. Thanks to Rick for mentioning MailGun and SendGrid.

Steve

© 1996-2022