SQL Mail XPs Option

Use the SQL Mail XPs option to enable SQL Mail on this server. The possible values are:

  • 0 indicating SQL Mail is not available (default)
  • 1 indicating SQL Mail is available

The setting takes effect immediately without a server stop and restart.

The SQL Mail XPs can also be enabled in Microsoft SQL Server Management Studio, by opening the SQL Mail Properties dialog box in Object Explorer.

After enabling SQL Mail, you must configure SQL Mail with the necessary mail profile.

Note

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.. To send mail from Microsoft SQL Server 2005, use Database Mail.

Examples

The following example enables the SQL Mail extended stored procedures.

sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'SQL Mail XPs', 1;
GO
RECONFIGURE
GO

See Also

Concepts

SQL Mail

Other Resources

SQL Mail Configuration

Help and Information

Getting SQL Server 2005 Assistance