Getting Started with Adobe After Effects - Part 6: Motion Blur
A collection of quick technology learning tips from what people around you learn every day

SQL Server - User needs permission on msdb database to send mail via database mail opton

Oct 7 2011 5:16AM by RKA   

While trying to send mail via database mail option, encountered this error

'EXECUTE permission was denied on the object 'spsenddbmail', database 'msdb', schema 'dbo'.'

Fix: From the message it was clear that it needs permission to msdb database. After providing access for user to msdb, message could be sent successfully because this stored procedure(spsenddbmail) is in the msdb database.

Read More..   [37 clicks]

Published under: SQL Server Tips ·  ·  ·  · 


RKA
91 · 2% · 598
10
 
2
 
 
0
Incorrect
 
0
Interesting
 
0
Forgotten



Submit

3  Comments  

  • Yes, because this sp sp_send_dbmail is call from msdb database when you fire it from database mail.

    commented on Oct 7 2011 5:43AM
    Paresh Prajapati
    6 · 22% · 7102
  • I guess one is likely to encounter this error if upgrading from SQL Mail to Database Mail. I guess that's what you stumbled into here. Please note that you will also need that Service Broker is enabled.

    However, the bigger problem I feel is that you are moving ahead without a checklist and a plan! Checking the environment before execution is one of the basic steps when dealing with configuration change. Otherwise, you might end up loosing track of what changed and what did not.

    commented on Oct 8 2011 8:44AM
    Nakul Vachhrajani
    4 · 33% · 10680

Your Comment


Sign Up or Login to post a comment.

"SQL Server - User needs permission on msdb database to send mail via database mail opton" rated 5 out of 5 by 10 readers
SQL Server - User needs permission on msdb database to send mail via database mail opton , 5.0 out of 5 based on 10 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]