r/ScreenConnect • • 15h ago

Send Mail when a new unattended client connected - with some information about the session?

2 Upvotes

I try to add a trigger which runs when a new unattended session is created (to get a fast alert if one of these strange bots appear).

I use: Session.SessionType = 'Access' AND Event.EventType = "CreatedSession"

This works.

But then, a little more information about the session would be of interest. Like MachineName, ClientIPAddress I search the connectwise knowledge base and google + AI. But none of the receipies i found will work. Email subject and body always contain only static text, no variable content.

example: (The last version i tried is): Subject: New {Session.Name}

Body: {Session.GuestPublicNetworkAddress}

{Session.Name}

{Session.GuestMachineName}

Does anyone has something that works i could use it as a blueprint?