Receive mail when specific user connects | SQL Server Performance Forums

SQL Server Performance Forum – Threads Archive

Receive mail when specific user connects

I want to receive a mail when a specific user connects.
How can this be done best? Raise an alert? How?
Btw, the ‘Login auditing’ is set to ‘Failed logins only’.
Suggestions are very welcome!
You might take or look at Notification services in this case to get such arrangement information. fyi. Satya SKJ
Microsoft SQL Server MVP
Writer, Contributing Editor & Moderator
This posting is provided AS IS with no rights for the sake of knowledge sharing. The greatest discovery of my generation is that a human being can alter his life by altering his attitudes of mind.
Or you could look at login triggers in SQL 2005 SP2.
Check the examples of login triggers in the following articles.. MohammedU.