Database Mail stored procedures
25 reference entries
- sp_send_dbmail
Sends an e-mail message to the specified recipients.
- sysmail_add_account_sp
Creates a new Database Mail account holding information about an SMTP account.
- sysmail_add_principalprofile_sp
Grants permission for an msdb database principal to use a Database Mail profile.
- sysmail_add_profile_sp
Created a new Database Mail profile in an instance of SQL Server or Azure SQL Managed Instance.
- sysmail_add_profileaccount_sp
Adds a Database Mail account to a Database Mail profile.
- sysmail_configure_sp
Changes configuration settings for Database Mail.
- sysmail_delete_account_sp
Deletes a Database Mail SMTP account.
- sysmail_delete_log_sp
Deletes events from the Database Mail log.
- sysmail_delete_mailitems_sp
Permanently deletes e-mail messages from the Database Mail internal tables.
- sysmail_delete_principalprofile_sp
Removes permission for a database user or role to use a public or private Database Mail profile.
- sysmail_delete_profile_sp
Deletes a mail profile used by Database Mail.
- sysmail_delete_profileaccount_sp
sysmaildeleteprofileaccountsp (Transact-SQL).
- sysmail_help_account_sp
Lists information (except passwords) about Database Mail accounts.
- sysmail_help_configure_sp
Displays configuration settings for Database Mail.
- sysmail_help_principalprofile_sp
Lists information about associations between Database Mail profiles and database principals.
- sysmail_help_profile_sp
Lists information about one or more mail profiles.
- sysmail_help_profileaccount_sp
Lists the accounts associated with one or more Database Mail profiles.
- sysmail_help_queue_sp
Allows viewing the state of the mail or status queues.
- sysmail_help_status_sp
Displays the status of Database Mail queues.
- sysmail_start_sp
Starts Database Mail by starting the Service Broker objects that the external program uses.
- sysmail_stop_sp
Stops Database Mail by stopping the Service Broker objects that the external program uses.
- sysmail_update_account_sp
Changes the information in an existing Database Mail account.
- sysmail_update_principalprofile_sp
Updates the information for an association between a principal and a profile.
- sysmail_update_profile_sp
Changes the description or name of a Database Mail profile.
- sysmail_update_profileaccount_sp
Updates the sequence number of an account within a Database Mail profile.