|
As a database administrator, I like automation. When it comes to my backups, I like to automate as much as possible. SQL Mail gives me the ability to know when my backups are successful and when they fail.
Configuring SQL Mail for SQLSERVERAGENT Alerts - Create SQL Admin account in Active Directory
- Add SQL Admin account to Domain Admins group
- Login as SQL Admin account
- Create Outlook Profile using "Corporate" configuration
- Select "Internet Mail" if using POP3
- Create a contact in the Address Book for SQL Server Agent
- Close Outlook
- Logout of SQL Admin account
- Login as Administrator
- Open "Services" MMC
- Change the "login on as" to the "SQL Admin account" on the following services:
- MSSQLSERVER
- MSSQLServerADHelper
- SQLSERVERAGENT
- Open SQL Enterprise Manager
- Expand "Support Services"
- Right-click SQL Mail and select Properties
- Use the drop-down menu to select Profile name
- Exit SQL Mail
- Expand "Management"
- Right-click SQL Server Agent and select Properties
- Make sure that the "Service Startup Account" is the SQL Admin account
- Use the drop-down menu to select the Mail profile
- Test it to make sure it is properly configured
|