Hi Experts,
I'm trying to set up database mail and having an issue. I'm using a script that's worked before, but it's not working in this particular instance so I'm stumped.
When I try to send an email, I get this message:
Msg 14650, Level 16, State 1, Procedure sp_send_dbmail, Line 73
Service Broker message delivery is not enabled in this database. Use the ALTER DATABASE statement to enable Service Broker message delivery.
I *have* enabled service broker with this code.
ALTER DATABASE Dev SET ENABLE_BROKER ;
GO
Checking it with this code returns a '1'
SELECT is_broker_enabled FROM sys.databases WHERE name = 'Dev';
The error message doesn't seem to reflect the database status. Has anyone ever seen this before? Am I missing something obvious?
Thx in advance!