Why is less secure apps no longer available?
MaxBulk Mailer is a full-featured and easy-to-use bulk mailer and mail-merge software for macOS and Windows that allows you to send out customized press releases, prices lists, newsletters and any kind of text or HTML documents to your customers or contacts. MaxBulk Mailer is fast, fully customizable and very easy to use. MaxBulk Mailer handles plain text, HTML and rich text documents and gives full support for attachments. With MaxBulk Mailer you will create, manage and send your own powerful, personalized marketing message to your customers and potential customers. Show Thanks to its advanced mail-merge and conditional functions you can send highly customized messages and get the best results of your campaigns. You also have support for international characters, a straightforward account manager with support for all type of authentication schemes including SSL, a complete and versatile list manager, support for importation from a wide range of sources including from remote mySQL and postgreSQL databases. MaxBulk Mailer is a software tool that you purchase once, no need to pay on a per-email basis to submission services! So since the 31 of may google has disabled the option for "Less secure apps", so I have been using the Java mail API, and since the update i can no longer send emails using the Gmail smtp. This is the error I'm getting:
I switched to an outlook mail and it seems to work fine, but i was wondering if there is a way to use a Gmail account Less secure apps & your Google Account asked Jun 2 at 17:41
1 You could try authentification via "App password". On your Google account:
answered Jun 4 at 11:06
Petra MarcPetra Marc 3312 silver badges4 bronze badges 4 So thanks for all the replays! i have fixed this issue by doing this: I have enabled the "App password for windows machines" Then i simply changed the password from the email password to the google generated one and changed the code to the following:
} answered Jun 8 at 11:50
SoskeSoske 4811 gold badge4 silver badges9 bronze badges Now that you can no longer use login and password with Googles smtp server the only option really is to use XOauth2 I havent used Jakarta before but it appears to support it. You should look into OAuth2 Support
Apps passwordoption two is to go to your google account and generate an apps password When running your code use the password generated instead of the actual users password. The main issue with this being there is no telling how long google will continue to support apps password. answered Jun 2 at 20:53
DaImToDaImTo 97.4k29 gold badges165 silver badges417 bronze badges 4 To those who followed the other answers but are still getting the "Authentication Failed" error when using an app password, a key point is that this solution is NOT working for XOAUTH2 if you are using that or are following a guide saying to use oauth2. So in the following code:
Simply change it to the following:
and it should work, keeping all else the same. answered Aug 3 at 2:43
AvanAvan 2243 silver badges13 bronze badges Why is less secure app access not available?As of May 30 2022 google has removed the less secure apps option. There is no way to turn this on as it no longer exists. Enable 2fa on your google account and create an apps password and use that in place of your true password in your code.
Is less secure apps going away?Google has announced that it's disabling the Less Secure Apps feature on some Google accounts from May 30th, 2022. If you're using Gmail SMTP details with our Other SMTP mailer, you may have difficulty sending emails when this feature is disabled.
Why has Google removed less secure apps?Because less secure apps can make your account more vulnerable, Google will automatically turn this setting off if it's not being used. If "Less secure app access" is still on for your account, we recommend turning it off now and switching to more secure apps.
What is the alternative for less secure apps?Zoho Mail — Alternative for Gmail or Less Secure Apps
Another Giant in SMTP, ERP, and CRM Solutions is ZOHO.
|