Ho do you get a Screenshot of a failed step on the email alert?

Hello Everyone,

I have been trying to get the failed WPM recording screenshot on the email alert for couple of months now.  Can anyone provide any ideas to how to add a screenshot without having to log in to see it on the email alert?

I have one that works but the annoying part of the screenshot is that you have to log in to be able to see the screenshot:

<a href="https:/[ip address]/${ScreenshotUrl}"><img src="[ip address]/${ScreenshotUrl}" alt="Screenshot" width="640" height="480">

I was testing this code out but I'm not sure if its working because it only shows the top 1 screenshot and I keep getting a broken screenshot image; so I'm not sure if it even works:


<img src="data:image/png;baseq64, ${N=SWQL;M=SELECT TOP 1 TransactionId, TransactionStepId, DateTimeUtc, Duration, Status, ScreenshotId,


FROM Orion.SEUM.StepResponseTimeDetail (nolock=true)

ORDER BY DateTimeUtc DESC FOR XML PATH('')),'<Screenshot>','')}">Screenshot</IMG>

If anyone can help, that would be great!