bvstone

Google Dropping Support for "Less Secure Apps" May 30th, 2022. What Does This Mean for Your IBM i Email?

Posted:

Google Dropping Support for

On May 30th, 2022, Google has announced that they are dropping support for "Less Secure Apps".

https://support.google.com/accounts/answer/6010255?hl=en

Basically what this means is that if you are using an application or program that sends email from  a GMail account (ie, BobSmith@gmail.com) and that application uses the account's user ID and password for authentication, well, it will cease working on May 30th, 2022.

From the announcement it doesn't apply to Google Workspace accounts (where you have your email sending from your domain but still using the Google Mail servers).  But I am sure that will come in the future.

So how does this apply to sending email from the IBM i?

Simple... if you are sending email using a basic GMail account (ending in gmail.com) you will need to find another way to send emails that uses a process such as OAuth 2.0.  I haven't seen any offerings in the IBM SMTP server that will allow this, but luckily for MAILTOOL users (and users of other 3rd party email apps that create a MIME file) they can use the GreenTools for Google Apps (G4G) Send Email Addon (G4GSMAIL).

This will require the licensing of the base G4G product, GETURI (if you don't already have a license) as well as the G4GSMAIL addon for sending emails.

In order to use the G4GSMAIL Addon to send emails with MAILTOOL, you would follow these steps:

  1. Download and install GreenTools for Google Apps (G4G).
  2. Apply license keys (temporary for testing, or normal keys if you've already purchased them) for G4G, G4GSMAIL and GETURI.
  3. Register the account(s) that will be used to send emails from your IBM i using the G4GREGSVC (Register Service) command to register the *G4GSMAIL service. 
  4. Make sure that MAILTOOL and G4G libraries are in your library list.
  5. Once that is complete, all you need to do is specify the following parameter on the MAILTOOL command:

    SENDWITH(*G4GSMAIL)
     
  6. This will do all the heavy lifting in the background for the required OAuth 2.0 functionality, including renewing any authentication tokens.

Here's a video showing that process of registering and then using MAILTOOL to send an email using G4GSMAIL.  Now, this example does use my bvstools.com account to send (which uses GMail) but this will, for now, mainly apply to basic GMail accounts, or those ending in gmail.com.  The process will still be the same.

If you wish to use 3rd party email applications or your own email software and still take advantage of the OAuth 2.0 functionality of G4GSMAIL, there are standalone ILE functions available in the G4G package.  You will simply need to have your email software pass the MIME file it creates to the function to send the email.  See this article for more information.

Are There Any Other Options?

Yes.  It appears Google also allows you to set up Application Passwords, which also requires turning on 2 Factor Authentication (2FA) but is not recommended unless necessary.  See this article for more information.  

Also see this article: How Do I Switch From MAILTOOL Plus to GreenTools for Google or Microsoft Office 365?


Last edited 04/18/2022 at 14:40:53



Latest Posts:

GreenTools for Google Apps (G4G) v15.00 Now Offers Functions to Bypass Registration Command and BVSTools Landing Page GreenTools for Google Apps (G4G) v15.00 Now Offers Functions to Bypass Registration Command and BVSTools Landing Page
Posted by May 3, 2022
BVSTools >> BVSTools Announcements >> GreenTools for G Suite (Google Apps) (G4G) Specific Announcements
How Do I Switch From MAILTOOL Plus to GreenTools for Google or Microsoft Office 365? How Do I Switch From MAILTOOL Plus to GreenTools for Google or Microsoft Office 365?
Posted by April 18, 2022
BVSTools >> BVSTools Software Discussion >> Email Tools (MAILTOOL) Specific Discussion
PTFs Issued for SSL/TLS Issues PTFs Issued for SSL/TLS Issues
Posted by March 12, 2022
IBM Power Systems >> PTF Watch
Google Dropping Support for Google Dropping Support for "Less Secure Apps" May 30th, 2022. What Does This Mean for Your IBM i Email?
Posted by March 4, 2022
BVSTools >> BVSTools Software Discussion >> Email Tools (MAILTOOL) Specific Discussion
Have You Installed a New Version of MAILTOOL and Now Things Are Acting Different?  Check the Command Defaults! Have You Installed a New Version of MAILTOOL and Now Things Are Acting Different? Check the Command Defaults!
Posted by February 28, 2022
BVSTools >> BVSTools Software Discussion >> Email Tools (MAILTOOL) Specific Discussion
Using MAILTOOL Plus on V7R1, or Any OS Using TLS 1.1 or Older Using MAILTOOL Plus on V7R1, or Any OS Using TLS 1.1 or Older
Posted by January 27, 2022
BVSTools >> BVSTools Software Discussion >> Email Tools (MAILTOOL) Specific Discussion
BVSTools ILE Functions Being Updated to Remove Hashtag (#) from Function Names BVSTools ILE Functions Being Updated to Remove Hashtag (#) from Function Names
Posted by December 30, 2021
BVSTools >> BVSTools Announcements
GETURI v12.00 Released Removing Beginning # (Hashtag) From Function Names GETURI v12.00 Released Removing Beginning # (Hashtag) From Function Names
Posted by December 28, 2021
BVSTools >> BVSTools Announcements >> Get URI (GETURI) Specific Announcements
Is any of BVSTools Software Affected by the log4j exploit? Is any of BVSTools Software Affected by the log4j exploit?
Posted by December 20, 2021
BVSTools >> BVSTools Software Discussion
GreenTools for Microsoft Apps (G4MS) Updated to Allow Downloads, Deletes, and Sharing of Files GreenTools for Microsoft Apps (G4MS) Updated to Allow Downloads, Deletes, and Sharing of Files
Posted by December 17, 2021
BVSTools >> BVSTools Announcements >> GreenTools for Microsoft Apps (G4MS) Specific Announcements
SSL Handshake Errors with GETURI, MAILTOOL and GreenTools Products SSL Handshake Errors with GETURI, MAILTOOL and GreenTools Products
Posted by October 18, 2021
BVSTools >> BVSTools Software Discussion
MAILTOOL Updated to Retry Sending when GSK SSL Handshake Error 415 (GSK_ERROR_BAD_PEER) is Encountered MAILTOOL Updated to Retry Sending when GSK SSL Handshake Error 415 (GSK_ERROR_BAD_PEER) is Encountered
Posted by August 19, 2021
BVSTools >> BVSTools Announcements >> eMail Tool (MAILTOOL) Specific Announcements
MAILTOOL Updated to Allow List-Unsubscribe and User Defined Headers MAILTOOL Updated to Allow List-Unsubscribe and User Defined Headers
Posted by August 13, 2021
BVSTools >> BVSTools Announcements >> eMail Tool (MAILTOOL) Specific Announcements
AWS signing process in as400 AWS signing process in as400
Posted by August 13, 2021
Programming >> Web Programming
2022 License Price Increase and Consulting Update for Non-Software Specific Assistance 2022 License Price Increase and Consulting Update for Non-Software Specific Assistance
Posted by August 9, 2021
BVSTools >> BVSTools Announcements

Reply




Copyright 1983-2020 BVSTools
GreenBoard(v3) Powered by the eRPG SDK, MAILTOOL Plus!, GreenTools for Google Apps, jQuery, jQuery UI, BlockUI, CKEditor and running on the IBM i (AKA AS/400, iSeries, System i).