Database Mail Configuration Stored Procedures
Database Mail configuration stored procedures are located in the msdb database.
The following tables list the stored procedures used for configuring and managing Database Mail.
Configuration
Name | Description |
---|---|
Changes configuration settings for Database Mail. |
|
Displays configuration settings for Database Mail. |
Accounts and Profiles
Name | Description |
---|---|
Creates a new Database Mail account. |
|
Creates a new Database Mail profile. |
|
Adds a mail account to a Database Mail profile. |
|
Deletes a Database Mail account. |
|
Deletes a Database Mail profile. |
|
Removes an account from a Database Mail profile. |
|
Lists information about Database Mail accounts. |
|
Lists information about one or more Database Mail profiles. |
|
Lists the accounts associated with one or more Database Mail profiles. |
|
Updates the information in an existing Database Mail account. |
|
Changes the description or name of a Database Mail profile. |
|
Updates the sequence number of an account within a Database Mail profile. |
Security
Name | Description |
---|---|
Grants permission for a database principal to use a Database Mail profile. |
|
Removes permission for a database user to use a public or private Database Mail profile. |
|
Lists Database Mail profile information for a given database user. |
|
Updates the permission information for a given database user. |
System State
Name | Description |
---|---|
Starts the Database Mail external program and the associated SQL Service Broker queue. |
|
Stops the Database Mail external program and the associated SQL Service Broker queue. |
|
Indicates if Database Mail is started. |
Maintenance and Troubleshooting
Name | Description |
---|---|
Deletes events from the Database Mail log. |
|
Deletes e-mails from the Database Mail tables. |
|
Indicates the status of the Database Mail queues. |