DB Mail configuration on SQL Server

Enable the Database mail configuration

1. Enable the db mail configuration on SQL Server

sp_configure ‘Database Mail XPs’,1
reconfigure

 

2. Enable service broker in the MSDB database.

ALTER DATABASE [MSDB] SET  ENABLE_BROKER WITH NO_WAIT;

 
3. Open the sql server management studio and right click on database mail

4. Configure the mail with smtp and mail id

5. Go to SSMS (SQL Server Management Studio) and test the mail by right click on database mail.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s