Server Email Settings
- SSMS > connect to SQL instance
- Management > Database Mail > Right click > Configure Database Mail
- First time, you may get an “intro” screen you can check to hide in future > next
- Set up database mail…. radio button > next
- Fill out database mail for your company settings
Set Default Operator and Agent Settings
- Set up sql server agent > operators > new > create operator
- Select Notifications for this operator or come back later (multiple operators and schedules can be created
- Enable Mail Profile on Sql Server Agent > properties > alert system (set default Operator also and token replacement if needed)
- Set the Database Mail profile Security settings to public instead of private
- Database Mail right click > configure database mail > Manage Profile Security
- Set default profile *** don’t forget this dropdown or alerts will not send!
NOTE: Restart sql server instance (machine does not need restart, just instance via ssms) to register changes (alerts will not send, but maintenance plan notification tasks and test will still execute and send mail before restart).
Related Articles:
SQL Server Alerts and Notices Best Practices >