Thanks Richard. I believe you’re right. On to that task tomorrow

Jim Oberholtzer
Agile Technology Architects



On May 18, 2020, at 5:58 PM, Richard Schoen <richard@xxxxxxxxxxxxxxxxx> wrote:

Need to enable 2 factor auth and app password on gmail.

Then you get a special one time only password for the app.

If you google gmail, app passwords and 2 factor there are how-to's out there.

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx

------------------------------

message: 5
date: Mon, 18 May 2020 22:34:44 +0000
from: "Kevin Adler" <kadler@xxxxxxxxxx>
subject: Re: [IBMiOSS] Send mail via a google account from python

I would also make sure you've told Python to enable TLS on the connection
as I don't believe Google supports unsecured authentication.
?

----- Original message -----
From: Jim Oberholtzer <midrangel@xxxxxxxxxxxxxxxxx>
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxxxxxxxx>
Cc:
Subject: [EXTERNAL] Re: [IBMiOSS] Send mail via a google account from
python
Date: Mon, May 18, 2020 5:24 PM
?
Thanks Kevin

The method you posted below is what I?m using, google tells the app to
go pound sand. ? I suspect the key is that app password portion of the
post you point out. ? I?ll try that in the AM. ?

The part that does cause me some pause is IBM i is happily sending email
with that account with no issues.

Jim Oberholtzer
Agile Technology Architects

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/opensource.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].