Using Microsoft Dynamics SL 7.0, Microsoft SQL Server 2008.
I am trying to set up a database trigger on the batch table that will send an email when a check batch is released in the system. I am executing the stored procedure sp_send_dbmail" in the trigger. It works great when I create and keep a check batch (I am an administrator on the server), but when one of the other users keeps a check batch, they receive the following error: "The EXECUTE permission was denied on the object 'sp_send_dbmail', database 'msdb', schema 'dbo'".
I have added the users to the "DatabaseMailUserRole" under the msdb database, but the same error still occurs.
Is there another permissions step that I am missing?
Gina
*This post is locked for comments
I have the same question (0)