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
Can someone who manages to send e-mail send me their settings?
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: https://javaee.github.io/javamail/OAuth2
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.