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.
| 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. |
| 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. |