I working on a program that has been running on a server from a previous IT company and migrating to a new server. I have the most recent backup of the databases and have my users setup. Before I go into live mode I have been testing and making adjustments which all of my aspects are working except email.
When they click on an invoice to email to a client they are getting:
Error 229: SQLSTATE = 42000Microsoft OLE DB Provider for SQL ServerThe EXECUTE permission was denied on the object 'sp_send_dbmail', database 'msdb', schema 'dbo'..
I have been working on this a few hours
I check on DatabaseMailUserRole on 'msdb' schema is 'dbo' and EXECUTE is set to GRANT no DENY are setup on DatabaseMailUserRole
I have also created a new role called MAIL and same setup but yet I get the same errors