Setting the Database Mail XPs server configuration option to 0

The Database Mail XPs option controls the ability to generate and transmit email messages from theSQL server.

To set the value of the Database Mail XPs option to 0, run this T-SQL command on the IRC and the CM database:

EXECUTE sp_configure 'show advanced options', 1;
RECONFIGURE;
EXECUTE sp_configure 'Database Mail XPs', 0;
RECONFIGURE;
GO
EXECUTE sp_configure 'show advanced options', 0;
RECONFIGURE;