I have a job that requires the one of our Databases to be run in Single-user mode. Unfortunately, this job will sometimes fail and will keep the DB locked in Single-user mode until I manually go into EM and uncheck the Restrict Access check box. I am wondering if there is a way to a) when the job in question fails, e-mail me using CDOSYS (we do not have Outlook installed on the server to use SQL Mail) to notfiy me of the occurrence and b) set the DB back to multi-user mode automatically. Any thoughts?? Thanks.