Problem
I have seen lots of unresolved threads regarding the Email reporting, and even Katalon maintains the old-dated document about imap and pop methods in their online document, which no longer works.
Microsoft is no longer supporting the legacy solutions.
Below is the katalon document link ( Team needs to update this document)
Share test reports via email in Katalon Studio | Katalon Docs
Note→ Microsoft and Google are not supporting the imap and pop methods, Only Microsoft Graph API works.
Below are the list of unresolved threads regarding email reporting
-
There may be many more threads
Solutions is below:-
The solutions to trigger email reporting to the outlook mailbox is using Microsoft Graph API, where one needs to register the application into Azure and get credentials like client ID, tenant ID, client secret and more, then use these credentials to generate token and develop the connection between the Katalon server and Outlook server.
I wrote code for this last year, and it is working properly. For the viewers understanding I have created a high-level video overview, highlighting how one can use Katalon to trigger mail of the test report.
I have not shown here the code due to security issue, but if there will demand in the Katalon community, then I can post the masked / generic version of code (which will be helpful to others)
Similarly, we can fetch out access code from outlook, delete mail from outlook Via Graph API