Starting and stopping mail queue - Amazon Relational Database Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Starting and stopping mail queue

Use the following instructions to start and stop the DB mail queue:

Starting the mail queue

You use the rds_sysmail_control stored procedure to start the Database Mail process.

Note

Enabling Database Mail automatically starts the mail queue.

To start the mail queue
  • Use the following SQL statement.

    EXECUTE msdb.dbo.rds_sysmail_control start; GO

Stopping the mail queue

You use the rds_sysmail_control stored procedure to stop the Database Mail process.

To stop the mail queue
  • Use the following SQL statement.

    EXECUTE msdb.dbo.rds_sysmail_control stop; GO