FoxPro Programming
'Two-factor authentication'
Gravatar is a globally recognized avatar based on your email address. 'Two-factor authentication'
  Edward K. Marois
  All
  Feb 4, 2020 @ 01:02pm

Dear Rick:

We are using the Email Client

          loIP = CREATEOBJECT("wwSmtp")  &&  --  wwsmtp.prg AS 1252
          loIP.cMailServer = ALLTRIM(SYSDESC.SDESC3)

We are having problems sending to a gmail account that is using a 'Two-factor authentication'

Is there anything 'special' that we are suppose to do to get around this problem ???

Gravatar is a globally recognized avatar based on your email address. re: 'Two-factor authentication'
  Rick Strahl
  Edward K. Marois
  Feb 4, 2020 @ 01:16pm

SMTP can't use two-factor authentication.

Here's an example that works:

Sending SSL Email with wwSMTP

Note if you have a business account you need to configure your account to allow from 'less secure sources'. The only way two-factor auth works is via the Google online Web client (ie. you can't automate it).

+++ Rick ---

© 1996-2024