Email sending via gmail doesn't work since May 30, 2022

I was using gmail for sending email in my test suite execution. It was working successfully. But now I’m trying to send email but it isn’t working. I think it is about this google announcement - "starting May 30, 2022, ​​Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password. "

How do you send email now? I try to send via yahoo but it doesn’t work :frowning:
Can someone who manages to send e-mail send me their settings?

Thank you.

Go here:

Ignore the first link, it’s dead. Go to the github link and download the sendemail app. Follow the instructions in the post.

Good luck!

Thank you for guidance. I follow this github link and it is designed for debian (I think). My server is windows. is there any other option for windows?

I use Windows 10. It works fine.

Here’s a better link:

Just click the Download button, then unzip the file.

1 Like

For a java approach with your gmail account, you can use javamail (which probably it is used in katalon also, lazy to check) but you have to implement your own solution to use Oauth2 token.
see here for guidance:

You can also raise a feature request for Katalon to implement it.
Although a better approach will be to use a CI tool to execute the tests and let the tool to handle email sending.
Any decent cloud CI provides such feature.
For on-prem solutions, e.g jenkins, bamboo server etc you will have to set up also your own company mail server to be used for automation purposes.

1 Like