JRHeaven : Free Computer Books, IT Books, Project Guidelines, Novels and Many More...

Tuesday, September 29, 2015

Configure Database Mail in SQL Server to send e-mail from SQL Server Database


This article explains, How to configure Database Mail to send e-mail from SQL Server database. So, we explain this step by step as follows:

What is Database Mail ?

Database Mail is an enterprise solution for sending e-mail messages from the SQL Server Database Engine. Using Database Mailyour database applications can send e-mail messages to users. The messages can contain query results, and can also include files from any resource on your network.

STEP 1 : 


First of all, We need Microsoft SQL Server Management Studio (SSMS) installed on our system (PC or Laptop) to send mail from sql  server. So if you do not have installed SSMS on your system, then first download and install it from here.

STEP 2 : 
  1. Now Open SSMS and connect it to your SQL Server instance.
  2. Expand Management option, there you can find Database Mail option. As you can see in below image.